ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
cpu.h File Reference
#include "../ugbc.h"

Go to the source code of this file.

Functions

void cpu_init (Environment *_environment)
void cpu_nop (Environment *_environment)
void cpu_ztoa (Environment *_environment)
void cpu_ctoa (Environment *_environment)
void cpu_beq (Environment *_environment, char *_label)
 CPU 6309: emit code to make long conditional jump
void cpu_bneq (Environment *_environment, char *_label)
 CPU 6309: emit code to make long conditional jump
void cpu_busy_wait (Environment *_environment, char *_timing)
void cpu_bveq (Environment *_environment, char *_value, char *_label)
void cpu_bvneq (Environment *_environment, char *_value, char *_label)
void cpu_combine_nibbles (Environment *_environment, char *_low_nibble, char *_hi_nibble, char *_byte)
 Z80: emit code to combine nibbles
void cpu_compare_16bit (Environment *_environment, char *_source, char *_destination, char *_name, int _positive)
 CPU 6309: emit code to compare two 16 bit values
void cpu_compare_16bit_const (Environment *_environment, char *_source, int _destination, char *_name, int _positive)
 CPU 6309: emit code to compare two 16 bit values
void cpu_compare_32bit (Environment *_environment, char *_source, char *_destination, char *_name, int _positive)
 CPU 6309: emit code to compare two 32 bit values
void cpu_compare_32bit_const (Environment *_environment, char *_source, int _destination, char *_name, int _positive)
 CPU 6309: emit code to compare two 32 bit values
void cpu_compare_nbit (Environment *_environment, char *_source, char *_destination, char *_name, int _positive, int _bits)
 CPU Z80: emit code to compare n bit
void cpu_compare_nbit_const (Environment *_environment, char *_source, int _destination, char *_name, int _positive, int _bits)
 CPU 6502: emit code to compare two 32 bit values
void cpu_compare_8bit (Environment *_environment, char *_source, char *_destination, char *_name, int _positive)
 CPU 6309: emit code to compare two 8 bit values
void cpu_compare_8bit_const (Environment *_environment, char *_source, int _destination, char *_name, int _positive)
 CPU 6309: emit code to compare two 8 bit values
void cpu_prepare_for_compare_and_branch_8bit (Environment *_environment, char *_source)
 Z80: emit code to compare two 8 bit values and jump if they are equal/different
void cpu_compare_and_branch_8bit (Environment *_environment, char *_source, char *_destination, char *_name, int _positive)
void cpu_compare_and_branch_8bit_const (Environment *_environment, char *_source, int _destination, char *_name, int _positive)
 CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different
void cpu_execute_compare_and_branch_8bit_const (Environment *_environment, int _destination, char *_name, int _positive)
 CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different
void cpu_compare_and_branch_16bit (Environment *_environment, char *_source, char *_destination, char *_name, int _positive)
void cpu_compare_and_branch_16bit_const (Environment *_environment, char *_source, int _destination, char *_name, int _positive)
 CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different
void cpu_compare_and_branch_32bit_const (Environment *_environment, char *_source, int _destination, char *_name, int _positive)
 CPU 6309: emit code to compare two 32 bit values and jump if they are equal/different
void cpu_compare_and_branch_char_const (Environment *_environment, char *_source, int _destination, char *_name, int _positive)
 CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different
void cpu_di (Environment *_environment)
void cpu_ei (Environment *_environment)
void cpu_inc (Environment *_environment, char *_variable)
void cpu_inc_16bit (Environment *_environment, char *_variable)
void cpu_inc_32bit (Environment *_environment, char *_variable)
void cpu_inc_nbit (Environment *_environment, char *_variable, int _bits)
void cpu_dec (Environment *_environment, char *_variable)
void cpu_dec_16bit (Environment *_environment, char *_variable)
void cpu_dec_32bit (Environment *_environment, char *_variable)
void cpu_dec_nbit (Environment *_environment, char *_variable, int _bits)
void cpu_less_than_nbit (Environment *_environment, char *_source, char *_destination, char *_name, int _equal, int _bits)
void cpu_less_than_16bit (Environment *_environment, char *_source, char *_destination, char *_name, int _equal, int _signed)
 CPU 6309: emit code to compare two 8 bit values
void cpu_less_than_32bit (Environment *_environment, char *_source, char *_destination, char *_name, int _equal, int _signed)
 CPU 6309: emit code to compare two 32 bit values
void cpu_less_than_8bit (Environment *_environment, char *_source, char *_destination, char *_name, int _equal, int _signed)
 CPU 6309: emit code to compare two 8 bit values
void cpu_less_than_nbit_const (Environment *_environment, char *_source, int _destination, char *_name, int _equal, int _bits)
void cpu_less_than_16bit_const (Environment *_environment, char *_source, int _destination, char *_name, int _equal, int _signed)
void cpu_less_than_32bit_const (Environment *_environment, char *_source, int _destination, char *_name, int _equal, int _signed)
void cpu_less_than_8bit_const (Environment *_environment, char *_source, int _destination, char *_name, int _equal, int _signed)
void cpu_less_than_and_branch_8bit_const (Environment *_environment, char *_source, int _destination, char *_label, int _equal, int _signed)
void cpu_greater_than_16bit (Environment *_environment, char *_source, char *_destination, char *_name, int _equal, int _signed)
 CPU 6309: emit code to compare two 8 bit values
void cpu_greater_than_32bit (Environment *_environment, char *_source, char *_destination, char *_name, int _equal, int _signed)
 CPU 6309: emit code to compare two 8 bit values
void cpu_greater_than_8bit (Environment *_environment, char *_source, char *_destination, char *_name, int _equal, int _signed)
 CPU 6309: emit code to compare two 8 bit values
void cpu_greater_than_nbit (Environment *_environment, char *_source, char *_destination, char *_name, int _equal, int _bits)
void cpu_greater_than_16bit_const (Environment *_environment, char *_source, int _destination, char *_name, int _equal, int _signed)
void cpu_greater_than_32bit_const (Environment *_environment, char *_source, int _destination, char *_name, int _equal, int _signed)
void cpu_greater_than_8bit_const (Environment *_environment, char *_source, int _destination, char *_name, int _equal, int _signed)
void cpu_greater_than_nbit_const (Environment *_environment, char *_source, int _destination, char *_name, int _equal, int _bits)
void cpu_fill (Environment *_environment, char *_address, char *_bytes, int _bytes_width, char *_pattern)
 CPU 6309: emit code to fill up a memory area
void cpu_fill_size (Environment *_environment, char *_address, int _bytes, char *_pattern)
 CPU 6309: emit code to fill up a memory area
void cpu_fill_size_value (Environment *_environment, char *_address, int _bytes, int _pattern)
 CPU 6309: emit code to fill up a memory area
void cpu_fill_direct (Environment *_environment, char *_address, char *_blocks, char *_pattern)
 CPU 6309: emit code to fill up a memory area
void cpu_fill_direct_size (Environment *_environment, char *_address, int _bytes, char *_pattern)
 CPU 6309: emit code to fill up a memory area
void cpu_fill_direct_size_value (Environment *_environment, char *_address, int _bytes, int _pattern)
 CPU 6309: emit code to fill up a memory area
void cpu_fill_blocks (Environment *_environment, char *_address, char *_blocks, char *_pattern)
 CPU 6309: emit code to fill up a memory area
void cpu_halt (Environment *_environment)
void cpu_end (Environment *_environment)
void cpu_jump (Environment *_environment, char *_label)
void cpu_jump_indirect (Environment *_environment, char *_value)
void cpu_call_addr (Environment *_environment, int _address)
void cpu_call (Environment *_environment, char *_label)
void cpu_call_indirect (Environment *_environment, char *_value)
void cpu_set_asmio (Environment *_environment, int _asmio, int _value)
void cpu_set_asmio_indirect (Environment *_environment, int _asmio, char *_value)
void cpu_get_asmio_indirect (Environment *_environment, int _asmio, char *_value)
int cpu_register_decode (Environment *_environment, char *_register)
void cpu_pop (Environment *_environment)
void cpu_port_out (Environment *_environment, char *_port, char *_value)
 Z80: emit code to send one byte throught a I/O port
void cpu_return (Environment *_environment)
void cpu_label (Environment *_environment, char *_label)
void cpu_limit_16bit (Environment *_environment, char *_variable, int _value)
void cpu_logical_and_8bit (Environment *_environment, char *_left, char *_right, char *_result)
void cpu_logical_or_8bit (Environment *_environment, char *_left, char *_right, char *_result)
void cpu_logical_not_8bit (Environment *_environment, char *_value, char *_result)
void cpu_and_8bit (Environment *_environment, char *_left, char *_right, char *_result)
void cpu_and_8bit_const (Environment *_environment, char *_left, int _right, char *_result)
void cpu_or_8bit (Environment *_environment, char *_left, char *_right, char *_result)
void cpu_or_8bit_const (Environment *_environment, char *_left, int _right, char *_result)
void cpu_xor_8bit (Environment *_environment, char *_left, char *_right, char *_result)
void cpu_xor_8bit_const (Environment *_environment, char *_left, int _right, char *_result)
void cpu_not_8bit (Environment *_environment, char *_value, char *_result)
void cpu_swap_8bit (Environment *_environment, char *_left, char *_right)
void cpu_and_16bit (Environment *_environment, char *_left, char *_right, char *_result)
void cpu_or_16bit (Environment *_environment, char *_left, char *_right, char *_result)
void cpu_xor_16bit (Environment *_environment, char *_left, char *_right, char *_result)
void cpu_xor_16bit_const (Environment *_environment, char *_left, int _right, char *_result)
void cpu_not_16bit (Environment *_environment, char *_value, char *_result)
void cpu_swap_16bit (Environment *_environment, char *_left, char *_right)
void cpu_and_32bit (Environment *_environment, char *_left, char *_right, char *_result)
void cpu_or_32bit (Environment *_environment, char *_left, char *_right, char *_result)
void cpu_xor_32bit (Environment *_environment, char *_left, char *_right, char *_result)
void cpu_xor_32bit_const (Environment *_environment, char *_left, int _right, char *_result)
void cpu_not_32bit (Environment *_environment, char *_value, char *_result)
void cpu_swap_32bit (Environment *_environment, char *_left, char *_right)
void cpu_math_add_nbit (Environment *_environment, char *_source, char *_destination, char *_name, int _bits)
void cpu_math_add_nbit_const (Environment *_environment, char *_source, int _destination, char *_name, int _bits)
void cpu_math_add_16bit (Environment *_environment, char *_source, char *_destination, char *_name)
 CPU 6309: emit code to add two 16 bit values
void cpu_math_add_16bit_const (Environment *_environment, char *_source, int _destination, char *_name)
 CPU 6502: emit code to add two 16 bit values
void cpu_math_add_16bit_with_16bit (Environment *_environment, char *_source, char *_destination, char *_name)
 CPU 6309: emit code to add two 16 bit values
void cpu_math_add_16bit_with_8bit (Environment *_environment, char *_source, char *_destination, char *_name)
void cpu_math_add_32bit (Environment *_environment, char *_source, char *_destination, char *_name)
 CPU 6309: emit code to add two 32 bit values
void cpu_math_add_32bit_const (Environment *_environment, char *_source, int _destination, char *_name)
void cpu_math_add_8bit (Environment *_environment, char *_source, char *_destination, char *_name)
 CPU 6309: emit code to add two 8 bit values
void cpu_math_add_8bit_const (Environment *_environment, char *_source, int _destination, char *_name)
 CPU 6502: emit code to add two 8 bit values
void cpu_math_and_const_16bit (Environment *_environment, char *_source, int _mask)
 CPU 6309: emit code to mask with "and" a value of 16 bit
void cpu_math_and_const_32bit (Environment *_environment, char *_source, int _mask)
 CPU 6309: emit code to mask with "and" a value of 32 bit
void cpu_math_and_const_8bit (Environment *_environment, char *_source, int _mask)
 CPU 6309: emit code to mask with "and" a value of 8 bit
void cpu_math_complement_const_16bit (Environment *_environment, char *_source, int _value)
 CPU 6309: emit code to calculate a 16 bit complement of a number
void cpu_math_complement_const_32bit (Environment *_environment, char *_source, int _value)
 CPU 6309: emit code to calculate a 32 bit complement of a number
void cpu_math_complement_const_8bit (Environment *_environment, char *_source, int _value)
 CPU 6309: emit code to calculate an 8 bit complement of a number
void cpu_math_div2_const_nbit (Environment *_environment, char *_source, int _value, int _bits, char *_remainder)
void cpu_math_div2_const_16bit (Environment *_environment, char *_source, int _value, int _signed, char *_remainder)
 CPU 6309: emit code to halves for several times a 16 bit value
void cpu_math_div2_const_32bit (Environment *_environment, char *_source, int _value, int _signed, char *_remainder)
 CPU 6309: emit code to halves for several times a 32 bit value
void cpu_math_div2_const_8bit (Environment *_environment, char *_source, int _value, int _signed, char *_remainder)
 CPU 6309: emit code to halves for several times a 8 bit value
void cpu_math_double_16bit (Environment *_environment, char *_source, char *_name, int _signed)
 CPU 6309: emit code to double a 16 bit value
void cpu_math_double_32bit (Environment *_environment, char *_source, char *_name, int _signed)
 CPU 6309: emit code to double a 32 bit value
void cpu_math_double_8bit (Environment *_environment, char *_source, char *_name, int _signed)
 CPU 6309: emit code to double a 8 bit value
void cpu_math_mul_nbit_to_nbit (Environment *_environment, char *_source, char *_destination, char *_name, int _bits)
void cpu_math_mul_16bit_to_32bit (Environment *_environment, char *_source, char *_destination, char *_name, int _signed)
 CPU 6309: emit code to multiply two 16 bit values in a 32 bit register
void cpu_math_mul_8bit_to_16bit (Environment *_environment, char *_source, char *_destination, char *_name, int _signed)
 CPU 6309: emit code to multiply two 8bit values in a 16 bit register
void cpu_math_div_nbit_to_nbit (Environment *_environment, char *_source, char *_destination, char *_other, char *_other_remainder, int _bits)
void cpu_math_div_32bit_to_16bit (Environment *_environment, char *_source, char *_destination, char *_other, char *_other_remainder, int _signed)
void cpu_math_div_nbit_to_nbit_const (Environment *_environment, char *_source, int _destination, char *_other, char *_other_remainder, int _bits)
void cpu_math_div_32bit_to_16bit_const (Environment *_environment, char *_source, int _destination, char *_other, char *_other_remainder, int _signed)
void cpu_math_div_16bit_to_16bit (Environment *_environment, char *_source, char *_destination, char *_other, char *_other_remainder, int _signed)
void cpu_math_div_16bit_to_16bit_const (Environment *_environment, char *_source, int _destination, char *_other, char *_other_remainder, int _signed)
void cpu_math_div_8bit_to_8bit (Environment *_environment, char *_source, char *_destination, char *_other, char *_other_remainder, int _signed)
void cpu_math_div_8bit_to_8bit_const (Environment *_environment, char *_source, int _destination, char *_other, char *_other_remainder, int _signed)
void cpu_math_mul2_const_nbit (Environment *_environment, char *_source, int _value, int _bits)
void cpu_math_mul2_const_16bit (Environment *_environment, char *_source, int _value, int _signed)
 CPU 6309: emit code to halves for several times a 8 bit value
void cpu_math_mul2_const_32bit (Environment *_environment, char *_source, int _value, int _signed)
 CPU 6309: emit code to double for several times a 32 bit value
void cpu_math_mul2_const_8bit (Environment *_environment, char *_source, int _value, int _signed)
 CPU 6309: emit code to double for several times a 8 bit value
void cpu_math_sub_nbit (Environment *_environment, char *_source, char *_destination, char *_name, int _bits)
void cpu_math_sub_16bit (Environment *_environment, char *_source, char *_destination, char *_name)
 CPU 6309: emit code to subtract two 16 bit values
void cpu_math_sub_32bit (Environment *_environment, char *_source, char *_destination, char *_name)
 CPU 6309: emit code to subtract two 32 bit values
void cpu_math_sub_8bit (Environment *_environment, char *_source, char *_destination, char *_name)
 CPU 6309: emit code to subtract two 8 bit values
void cpu_math_sub_16bit_with_8bit (Environment *_environment, char *_source, char *_destination, char *_name)
void cpu_move_16bit (Environment *_environment, char *_source, char *_destination)
 CPU 6309: emit code to move 16 bit
void cpu_addressof_16bit (Environment *_environment, char *_source, char *_destination)
void cpu_move_32bit (Environment *_environment, char *_source, char *_destination)
 CPU 6309: emit code to move 32 bit
void cpu_move_8bit (Environment *_environment, char *_source, char *_destination)
 CPU 6309: emit code to move 8 bit
void cpu_move_8bit_signed_16bit_signed (Environment *_environment, char *_source, char *_destination)
void cpu_move_8bit_signed_16bit_unsigned (Environment *_environment, char *_source, char *_destination)
void cpu_move_8bit_unsigned_16bit_signed (Environment *_environment, char *_source, char *_destination)
void cpu_move_8bit_unsigned_16bit_unsigned (Environment *_environment, char *_source, char *_destination)
void cpu_move_8bit_signed_32bit_signed (Environment *_environment, char *_source, char *_destination)
void cpu_move_8bit_signed_32bit_unsigned (Environment *_environment, char *_source, char *_destination)
void cpu_move_8bit_unsigned_32bit_signed (Environment *_environment, char *_source, char *_destination)
void cpu_move_8bit_unsigned_32bit_unsigned (Environment *_environment, char *_source, char *_destination)
void cpu_move_16bit_signed_8bit_signed (Environment *_environment, char *_source, char *_destination)
void cpu_move_16bit_signed_8bit_unsigned (Environment *_environment, char *_source, char *_destination)
void cpu_move_16bit_unsigned_8bit_signed (Environment *_environment, char *_source, char *_destination)
void cpu_move_16bit_unsigned_8bit_unsigned (Environment *_environment, char *_source, char *_destination)
void cpu_move_16bit_signed_32bit_signed (Environment *_environment, char *_source, char *_destination)
void cpu_move_16bit_signed_32bit_unsigned (Environment *_environment, char *_source, char *_destination)
void cpu_move_16bit_unsigned_32bit_signed (Environment *_environment, char *_source, char *_destination)
void cpu_move_16bit_unsigned_32bit_unsigned (Environment *_environment, char *_source, char *_destination)
void cpu_move_32bit_signed_8bit_signed (Environment *_environment, char *_source, char *_destination)
void cpu_move_32bit_signed_8bit_unsigned (Environment *_environment, char *_source, char *_destination)
void cpu_move_32bit_unsigned_8bit_signed (Environment *_environment, char *_source, char *_destination)
void cpu_move_32bit_unsigned_8bit_unsigned (Environment *_environment, char *_source, char *_destination)
void cpu_move_32bit_signed_16bit_signed (Environment *_environment, char *_source, char *_destination)
void cpu_move_32bit_signed_16bit_unsigned (Environment *_environment, char *_source, char *_destination)
void cpu_move_32bit_unsigned_16bit_signed (Environment *_environment, char *_source, char *_destination)
void cpu_move_32bit_unsigned_16bit_unsigned (Environment *_environment, char *_source, char *_destination)
void cpu_move_nbit (Environment *_environment, int _n, char *_source, char *_destination)
 CPU cpu6309: emit code to store n bit
void cpu_peek (Environment *_environment, char *_address, char *_target)
void cpu_poke (Environment *_environment, char *_address, char *_value)
void cpu_poke_const (Environment *_environment, char *_address, int _value)
void cpu_peekw (Environment *_environment, char *_address, char *_target)
void cpu_pokew (Environment *_environment, char *_address, char *_value)
void cpu_pokew_const (Environment *_environment, char *_address, int _value)
void cpu_peekd (Environment *_environment, char *_address, char *_target)
void cpu_poked (Environment *_environment, char *_address, char *_value)
void cpu_poked_const (Environment *_environment, char *_address, int _value)
void cpu_random (Environment *_environment, char *_entropy)
void cpu_random_16bit (Environment *_environment, char *_entropy, char *_result)
void cpu_random_32bit (Environment *_environment, char *_entropy, char *_result)
void cpu_random_8bit (Environment *_environment, char *_entropy, char *_result)
void cpu_store_char (Environment *_environment, char *_source, int _value)
 CPU 6309: emit code to store 8 bit
void cpu_store_8bit (Environment *_environment, char *_source, int _value)
 CPU 6309: emit code to store 8 bit
void cpu_store_16bit (Environment *_environment, char *_source, int _value)
 CPU 6309: emit code to store 16 bit
void cpu_store_32bit (Environment *_environment, char *_source, int _value)
 CPU 6309: emit code to store 32 bit
void cpu_store_nbit (Environment *_environment, char *_source, int _n, int _value[])
 CPU 6309: emit code to store n bit
void cpu_mem_move (Environment *_environment, char *_source, char *_destination, char *_size)
void cpu_mem_move_16bit (Environment *_environment, char *_source, char *_destination, char *_size)
void cpu_mem_move_direct (Environment *_environment, char *_source, char *_destination, char *_size)
void cpu_mem_move_direct2 (Environment *_environment, char *_source, char *_destination, char *_size)
void cpu_mem_move_direct2_size (Environment *_environment, char *_source, char *_destination, int _size)
void cpu_mem_move_size (Environment *_environment, char *_source, char *_destination, int _size)
void cpu_mem_move_direct_size (Environment *_environment, char *_source, char *_destination, int _size)
void cpu_mem_move_direct_indirect_size (Environment *_environment, char *_source, char *_destination, int _size)
void cpu_mem_move_indirect_direct_size (Environment *_environment, char *_source, char *_destination, int _size)
void cpu_compare_memory (Environment *_environment, char *_source, char *_destination, char *_size, char *_result, int _equal)
void cpu_compare_memory_size (Environment *_environment, char *_source, char *_destination, int _size, char *_result, int _equal)
void cpu_less_than_memory (Environment *_environment, char *_source, char *_destination, char *_size, char *_result, int _equal)
void cpu_less_than_memory_size (Environment *_environment, char *_source, char *_destination, int _size, char *_result, int _equal)
void cpu_greater_than_memory (Environment *_environment, char *_source, char *_destination, char *_size, char *_result, int _equal)
void cpu_greater_than_memory_size (Environment *_environment, char *_source, char *_destination, int _size, char *_result, int _equal)
void cpu_uppercase (Environment *_environment, char *_source, char *_size, char *_result)
void cpu_lowercase (Environment *_environment, char *_source, char *_size, char *_result)
void cpu_convert_string_into_8bit (Environment *_environment, char *_string, char *_len, char *_value)
void cpu_convert_string_into_16bit (Environment *_environment, char *_string, char *_len, char *_value)
void cpu_fill_indirect (Environment *_environment, char *_address, char *_size, char *_pattern, int _size_size)
void cpu_flip_8bit (Environment *_environment, char *_source, char *_destination)
void cpu_flip (Environment *_environment, char *_source, char *_size, char *_destination)
void cpu_move_8bit_indirect (Environment *_environment, char *_source, char *_value)
void cpu_move_8bit_indirect2 (Environment *_environment, char *_value, char *_source)
void cpu_move_8bit_indirect2_8bit (Environment *_environment, char *_value, char *_offset, char *_source)
void cpu_move_8bit_indirect2_16bit (Environment *_environment, char *_value, char *_offset, char *_source)
void cpu_move_16bit_indirect (Environment *_environment, char *_source, char *_value)
void cpu_move_16bit_indirect2 (Environment *_environment, char *_value, char *_source)
void cpu_move_16bit_indirect2_8bit (Environment *_environment, char *_value, char *_source, char *_index)
void cpu_move_32bit_indirect (Environment *_environment, char *_source, char *_value)
void cpu_move_32bit_indirect2 (Environment *_environment, char *_value, char *_source)
void cpu_move_nbit_indirect (Environment *_environment, int _n, char *_source, char *_value)
void cpu_move_nbit_indirect2 (Environment *_environment, int _n, char *_source, char *_value)
void cpu_bit_check (Environment *_environment, char *_value, int _position, char *_result, int _bitwidth)
void cpu_bit_check_extended (Environment *_environment, char *_value, char *_position, char *_result, int _bitwidth)
void cpu_bit_inplace_8bit (Environment *_environment, char *_value, int _position, int *_bit)
void cpu_bit_inplace_8bit_extended_indirect (Environment *_environment, char *address, char *_position, char *_bit)
void cpu_number_to_string (Environment *_environment, char *_number, char *_string, char *_string_size, int _bits, int _Signed)
void cpu_bits_to_string (Environment *_environment, char *_number, char *_string, char *_string_size, int _bits, char *_zero, char *_one)
void cpu_hex_to_string (Environment *_environment, char *_number, char *_string, char *_size, int _separator)
void cpu_hex_to_string_calc_string (Environment *_environment, char *_size, int _separator, char *_string_size)
void cpu_hex_to_string_calc_string_size (Environment *_environment, int _size, int _separator, char *_string_size)
void cpu_move_8bit_indirect_with_offset2 (Environment *_environment, char *_source, char *_value, char *_offset)
void cpu_dsdefine (Environment *_environment, char *_string, char *_index)
void cpu_dsfill (Environment *_environment, char *_string, char *_value)
void cpu_dsfill_value (Environment *_environment, char *_string, int _value)
void cpu_dsalloc (Environment *_environment, char *_size, char *_index)
void cpu_dsalloc_size (Environment *_environment, int _size, char *_index)
void cpu_dsfree (Environment *_environment, char *_index)
void cpu_dswrite (Environment *_environment, char *_index)
void cpu_dsresize (Environment *_environment, char *_index, char *_size)
void cpu_dsresize_size (Environment *_environment, char *_index, int _size)
void cpu_dsassign (Environment *_environment, char *_original, char *_copy)
void cpu_dsassign_string (Environment *_environment, char *_string, char *_copy)
void cpu_dsgc (Environment *_environment)
void cpu_dsinit (Environment *_environment)
void cpu_dsdescriptor (Environment *_environment, char *_index, char *_address, char *_size)
void cpu_move_8bit_indirect_with_offset (Environment *_environment, char *_source, char *_value, int _offset)
void cpu_move_8bit_with_offset2 (Environment *_environment, char *_source, char *_value, char *_offset)
void cpu_store_8bit_with_offset (Environment *_environment, char *_destination, int _value, int _offset)
void cpu_store_8bit_with_offset2 (Environment *_environment, char *_destination, char *_offset, int _value)
void cpu_complement2_8bit (Environment *_environment, char *_source, char *_destination)
void cpu_complement2_16bit (Environment *_environment, char *_source, char *_destination)
void cpu_complement2_32bit (Environment *_environment, char *_source, char *_destination)
void cpu_complement2_nbit (Environment *_environment, char *_source, char *_destination, int _bits)
void cpu_sqroot (Environment *_environment, char *_number, char *_result)
void cpu_dstring_vars (Environment *_environment)
void cpu_set_callback (Environment *_environment, char *_callback, char *_label)
void cpu_out (Environment *_environment, char *_port, char *_value)
void cpu_in (Environment *_environment, char *_port, char *_value)
void cpu_out_direct (Environment *_environment, char *_port, char *_value)
void cpu_in_direct (Environment *_environment, char *_port, char *_value)
void cpu_string_sub (Environment *_environment, char *_source, char *_source_size, char *_pattern, char *_pattern_size, char *_destination, char *_destination_size)
void cpu_protothread_vars (Environment *_environment)
void cpu_protothread_loop (Environment *_environment)
void cpu_protothread_register_at (Environment *_environment, char *_index, char *_label)
void cpu_protothread_register (Environment *_environment, char *_label, char *_index)
void cpu_protothread_unregister (Environment *_environment, char *_index)
void cpu_protothread_save (Environment *_environment, char *_index, int _step)
void cpu_protothread_restore (Environment *_environment, char *_index, char *_step)
void cpu_protothread_set_state (Environment *_environment, char *_index, int _state)
void cpu_protothread_get_state (Environment *_environment, char *_index, char *_state)
void cpu_protothread_current (Environment *_environment, char *_current)
void cpu_protothread_get_address (Environment *_environment, char *_index, char *_address)
void cpu_msc1_uncompress_direct_direct (Environment *_environment, char *_input, char *_output)
void cpu_msc1_uncompress_direct_indirect (Environment *_environment, char *_input, char *_output)
void cpu_msc1_uncompress_indirect_direct (Environment *_environment, char *_input, char *_output)
void cpu_msc1_uncompress_indirect_indirect (Environment *_environment, char *_input, char *_output)
void cpu_blit_initialize (Environment *_environment)
char * cpu_blit_register_name (Environment *_environment, int _register)
int cpu_blit_alloc_register (Environment *_environment)
void cpu_blit_free_register (Environment *_environment, int _register)
void cpu_blit_finalize (Environment *_environment)
void cpu_address_table_build (Environment *_environment, char *_table, int *_values, char *_address[], int _count)
void cpu_address_table_lookup (Environment *_environment, char *_table, int _count)
void cpu_address_table_call (Environment *_environment, char *_table, char *_value, char *_address)
void cpu_float_fast_from_double_to_int_array (Environment *_environment, double _value, int _result[])
void cpu_float_fast_from_int_array_to_double (Environment *_environment, int _value[], double *_result)
void cpu_float_fast_to_string (Environment *_environment, char *_x, char *_string, char *_string_size)
void cpu_float_fast_from_16 (Environment *_environment, char *_value, char *_result, int _signed)
void cpu_float_fast_from_8 (Environment *_environment, char *_value, char *_result, int _signed)
void cpu_float_fast_to_16 (Environment *_environment, char *_value, char *_result, int _signed)
void cpu_float_fast_to_8 (Environment *_environment, char *_value, char *_result, int _signed)
void cpu_float_fast_add (Environment *_environment, char *_x, char *_y, char *_result)
void cpu_float_fast_sub (Environment *_environment, char *_x, char *_y, char *_result)
void cpu_float_fast_mul (Environment *_environment, char *_x, char *_y, char *_result)
void cpu_float_fast_div (Environment *_environment, char *_x, char *_y, char *_result)
void cpu_float_fast_cmp (Environment *_environment, char *_x, char *_y, char *_result)
void cpu_float_fast_sin (Environment *_environment, char *_angle, char *_result)
void cpu_float_fast_cos (Environment *_environment, char *_angle, char *_result)
void cpu_float_fast_tan (Environment *_environment, char *_angle, char *_result)
void cpu_float_fast_log (Environment *_environment, char *_value, char *_result)
void cpu_float_fast_exp (Environment *_environment, char *_value, char *_result)
void cpu_float_single_from_double_to_int_array (Environment *_environment, double _value, int _result[])
void cpu_float_single_from_int_array_to_double (Environment *_environment, int _value[], double *_result)
void cpu_float_single_to_string (Environment *_environment, char *_x, char *_string, char *_string_size)
void cpu_float_single_from_16 (Environment *_environment, char *_value, char *_result, int _signed)
void cpu_float_single_from_8 (Environment *_environment, char *_value, char *_result, int _signed)
void cpu_float_single_to_16 (Environment *_environment, char *_value, char *_result, int _signed)
void cpu_float_single_to_8 (Environment *_environment, char *_value, char *_result, int _signed)
void cpu_float_single_add (Environment *_environment, char *_x, char *_y, char *_result)
void cpu_float_single_sub (Environment *_environment, char *_x, char *_y, char *_result)
void cpu_float_single_mul (Environment *_environment, char *_x, char *_y, char *_result)
void cpu_float_single_div (Environment *_environment, char *_x, char *_y, char *_result)
void cpu_float_single_cmp (Environment *_environment, char *_x, char *_y, char *_result)
void cpu_float_single_sin (Environment *_environment, char *_angle, char *_result)
void cpu_float_single_cos (Environment *_environment, char *_angle, char *_result)
void cpu_float_single_tan (Environment *_environment, char *_angle, char *_result)
void cpu_float_single_log (Environment *_environment, char *_value, char *_result)
void cpu_float_single_exp (Environment *_environment, char *_value, char *_result)
void cpu_f32add (char *_x, char *_y, char *_result)
void cpu_f32div (char *_x, char *_y, char *_result)
void cpu_f32exp (char *_x, char *_result)
void cpu_f32ln (char *_x, char *_result)
void cpu_f32log10 (char *_x, char *_result)
void cpu_f32mul (char *_x, char *_y, char *_result)
void cpu_f32sub (char *_x, char *_y, char *_result)
void cpu_encrypt (Environment *_environment, char *_data, char *_data_size, char *_key, char *_key_size, char *_output)
void cpu_decrypt (Environment *_environment, char *_data, char *_data_size, char *_key, char *_key_size, char *_output, char *_result)
void cpu_hex_to_bin (Environment *_environment, char *_value_address, char *_value_size, char *_variable_address, char *_variable_size, char *_result)

Function Documentation

◆ cpu_address_table_build()

void cpu_address_table_build ( Environment * _environment,
char * _table,
int * _values,
char * _address[],
int _count )

Definition at line 7344 of file 6309.c.

◆ cpu_address_table_call()

void cpu_address_table_call ( Environment * _environment,
char * _table,
char * _value,
char * _address )

Definition at line 7374 of file 6309.c.

◆ cpu_address_table_lookup()

void cpu_address_table_lookup ( Environment * _environment,
char * _table,
int _count )

Definition at line 7353 of file 6309.c.

◆ cpu_addressof_16bit()

void cpu_addressof_16bit ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 1485 of file 6309.c.

◆ cpu_and_16bit()

void cpu_and_16bit ( Environment * _environment,
char * _left,
char * _right,
char * _result )

Definition at line 4244 of file 6309.c.

◆ cpu_and_32bit()

void cpu_and_32bit ( Environment * _environment,
char * _left,
char * _right,
char * _result )

Definition at line 4258 of file 6309.c.

◆ cpu_and_8bit()

void cpu_and_8bit ( Environment * _environment,
char * _left,
char * _right,
char * _result )

Definition at line 4216 of file 6309.c.

◆ cpu_and_8bit_const()

void cpu_and_8bit_const ( Environment * _environment,
char * _left,
int _right,
char * _result )

Definition at line 4230 of file 6309.c.

◆ cpu_beq()

void cpu_beq ( Environment * _environment,
char * _label )

CPU 6309: emit code to make long conditional jump

This function outputs a code that guarantees an arbitrary distance jump with conditional check on equality. In fact, the opcode BEQ of the CPU 6309 processor allows to make a jump of maximum +/- 128 bytes with respect to the address where the processor is at that moment. To overcome this problem, this function will make a conditional jump to a very close location, which (in turn) will make an unconditional jump to the true destination.

Parameters
_environmentCurrent calling environment
_labelDestination of the conditional jump.

CPU 6309: emit code to make long conditional jump

This function outputs a code that guarantees an arbitrary distance jump with conditional check on equality. In fact, the opcode BEQ of the CPU 6809 processor allows to make a jump of maximum +/- 128 bytes with respect to the address where the processor is at that moment. To overcome this problem, this function will make a conditional jump to a very close location, which (in turn) will make an unconditional jump to the true destination.

Parameters
_environmentCurrent calling environment
_labelDestination of the conditional jump.

CPU 6309: emit code to make long conditional jump

This function outputs a code that guarantees an arbitrary distance jump with conditional check on equality. In fact, the opcode BEQ of the Z80 processor allows to make a jump of maximum +/- 128 bytes with respect to the address where the processor is at that moment. To overcome this problem, this function will make a conditional jump to a very close location, which (in turn) will make an unconditional jump to the true destination.

Parameters
_environmentCurrent calling environment
_labelDestination of the conditional jump.

CPU 6309: emit code to make long conditional jump

This function outputs a code that guarantees an arbitrary distance jump with conditional check on equality. In fact, the opcode BEQ of the SC616860 processor allows to make a jump of maximum +/- 128 bytes with respect to the address where the processor is at that moment. To overcome this problem, this function will make a conditional jump to a very close location, which (in turn) will make an unconditional jump to the true destination.

Parameters
_environmentCurrent calling environment
_labelDestination of the conditional jump.

Definition at line 308 of file 6309.c.

◆ cpu_bit_check()

void cpu_bit_check ( Environment * _environment,
char * _value,
int _position,
char * _result,
int _bitwidth )

Definition at line 5577 of file 6309.c.

◆ cpu_bit_check_extended()

void cpu_bit_check_extended ( Environment * _environment,
char * _value,
char * _position,
char * _result,
int _bitwidth )

Definition at line 5605 of file 6309.c.

◆ cpu_bit_inplace_8bit()

void cpu_bit_inplace_8bit ( Environment * _environment,
char * _value,
int _position,
int * _bit )

Definition at line 5633 of file 6309.c.

◆ cpu_bit_inplace_8bit_extended_indirect()

void cpu_bit_inplace_8bit_extended_indirect ( Environment * _environment,
char * address,
char * _position,
char * _bit )

Definition at line 5663 of file 6309.c.

◆ cpu_bits_to_string()

void cpu_bits_to_string ( Environment * _environment,
char * _number,
char * _string,
char * _string_size,
int _bits,
char * _zero,
char * _one )

Definition at line 5777 of file 6309.c.

◆ cpu_blit_alloc_register()

int cpu_blit_alloc_register ( Environment * _environment)

Definition at line 6426 of file 6309.c.

◆ cpu_blit_finalize()

void cpu_blit_finalize ( Environment * _environment)

Definition at line 6410 of file 6309.c.

◆ cpu_blit_free_register()

void cpu_blit_free_register ( Environment * _environment,
int _register )

Definition at line 6460 of file 6309.c.

◆ cpu_blit_initialize()

void cpu_blit_initialize ( Environment * _environment)

Definition at line 6403 of file 6309.c.

◆ cpu_blit_register_name()

char * cpu_blit_register_name ( Environment * _environment,
int _register )

Definition at line 6417 of file 6309.c.

◆ cpu_bneq()

void cpu_bneq ( Environment * _environment,
char * _label )

CPU 6309: emit code to make long conditional jump

Parameters
_environmentCurrent calling environment
_labelDestination of the conditional jump.

CPU 6309: emit code to make long conditional jump

Parameters
_environmentCurrent calling environment
_labelDestination of the conditional jump.

Definition at line 324 of file 6309.c.

◆ cpu_busy_wait()

void cpu_busy_wait ( Environment * _environment,
char * _timing )

Definition at line 4183 of file 6309.c.

◆ cpu_bveq()

void cpu_bveq ( Environment * _environment,
char * _value,
char * _label )

Definition at line 334 of file 6309.c.

◆ cpu_bvneq()

void cpu_bvneq ( Environment * _environment,
char * _value,
char * _label )

Definition at line 345 of file 6309.c.

◆ cpu_call()

void cpu_call ( Environment * _environment,
char * _label )

Definition at line 3755 of file 6309.c.

◆ cpu_call_addr()

void cpu_call_addr ( Environment * _environment,
int _address )

Definition at line 3749 of file 6309.c.

◆ cpu_call_indirect()

void cpu_call_indirect ( Environment * _environment,
char * _value )

Definition at line 3765 of file 6309.c.

◆ cpu_combine_nibbles()

void cpu_combine_nibbles ( Environment * _environment,
char * _low_nibble,
char * _hi_nibble,
char * _byte )

Z80: emit code to combine nibbles

Z80: emit code to combine nibbles

Definition at line 3724 of file 6309.c.

◆ cpu_compare_16bit()

void cpu_compare_16bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
int _positive )

CPU 6309: emit code to compare two 16 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_positiveInvert meaning of comparison

CPU 6309: emit code to compare two 16 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_positiveInvert meaning of comparison

CPU 6309: emit code to compare two 16 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result

Definition at line 1523 of file 6309.c.

◆ cpu_compare_16bit_const()

void cpu_compare_16bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _other,
int _positive )

CPU 6309: emit code to compare two 16 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_positiveInvert meaning of comparison

CPU 6309: emit code to compare two 16 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_positiveInvert meaning of comparison

CPU 6309: emit code to compare two 16 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result

Definition at line 1542 of file 6309.c.

◆ cpu_compare_32bit()

void cpu_compare_32bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
int _positive )

CPU 6309: emit code to compare two 32 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_positiveMeaning of comparison

CPU 6309: emit code to compare two 32 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_positiveMeaning of comparison

Definition at line 2769 of file 6309.c.

◆ cpu_compare_32bit_const()

void cpu_compare_32bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _other,
int _positive )

CPU 6309: emit code to compare two 32 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_positiveMeaning of comparison

CPU 6309: emit code to compare two 32 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_positiveMeaning of comparison

Definition at line 2871 of file 6309.c.

◆ cpu_compare_8bit()

void cpu_compare_8bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
int _positive )

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_positiveInvert meaning of comparison

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_positiveInvert meaning of comparison

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_positiveMeaning of comparison

Definition at line 811 of file 6309.c.

◆ cpu_compare_8bit_const()

void cpu_compare_8bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _other,
int _positive )

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_positiveInvert meaning of comparison

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_positiveInvert meaning of comparison

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_positiveMeaning of comparison

Definition at line 831 of file 6309.c.

◆ cpu_compare_and_branch_16bit()

void cpu_compare_and_branch_16bit ( Environment * _environment,
char * _source,
char * _destination,
char * _name,
int _positive )

Definition at line 1552 of file 6309.c.

◆ cpu_compare_and_branch_16bit_const()

void cpu_compare_and_branch_16bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _label,
int _positive )

CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare
_labelWhere to jump
_positiveInvert meaning of comparison

CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare
_labelWhere to jump
_positiveInvert meaning of comparison

Definition at line 1578 of file 6309.c.

◆ cpu_compare_and_branch_32bit_const()

void cpu_compare_and_branch_32bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _label,
int _positive )

CPU 6309: emit code to compare two 32 bit values and jump if they are equal/different

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare
_labelWhere to jump
_positiveInvert meaning of comparison

CPU 6309: emit code to compare two 32 bit values and jump if they are equal/different

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare
_labelWhere to jump
_positiveInvert meaning of comparison

Definition at line 2914 of file 6309.c.

◆ cpu_compare_and_branch_8bit()

void cpu_compare_and_branch_8bit ( Environment * _environment,
char * _source,
char * _destination,
char * _name,
int _positive )

Definition at line 851 of file 6309.c.

◆ cpu_compare_and_branch_8bit_const()

void cpu_compare_and_branch_8bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _label,
int _positive )

CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare
_labelWhere to jump
_positiveInvert meaning of comparison

CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare
_labelWhere to jump
_positiveInvert meaning of comparison

Definition at line 876 of file 6309.c.

◆ cpu_compare_and_branch_char_const()

void cpu_compare_and_branch_char_const ( Environment * _environment,
char * _source,
int _destination,
char * _label,
int _positive )

CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare
_labelWhere to jump
_positiveInvert meaning of comparison

CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare
_labelWhere to jump
_positiveInvert meaning of comparison

Definition at line 925 of file 6309.c.

◆ cpu_compare_memory()

void cpu_compare_memory ( Environment * _environment,
char * _source,
char * _destination,
char * _size,
char * _result,
int _equal )

Definition at line 4849 of file 6309.c.

◆ cpu_compare_memory_size()

void cpu_compare_memory_size ( Environment * _environment,
char * _source,
char * _destination,
int _size,
char * _result,
int _equal )

Definition at line 4906 of file 6309.c.

◆ cpu_compare_nbit()

void cpu_compare_nbit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
int _positive,
int _bits )

CPU Z80: emit code to compare n bit

Parameters
_environmentCurrent calling environment
_destinationDestination of store
_nbits to store (>32)
_value[]Value to store (segmented in 32 bit each)

Definition at line 2804 of file 6309.c.

◆ cpu_compare_nbit_const()

void cpu_compare_nbit_const ( Environment * _environment,
char * _source,
int _destination,
char * _other,
int _positive,
int _bits )

CPU 6502: emit code to compare two 32 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_positiveMeaning of comparison

Definition at line 2836 of file 6309.c.

◆ cpu_complement2_16bit()

void cpu_complement2_16bit ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 6057 of file 6309.c.

◆ cpu_complement2_32bit()

void cpu_complement2_32bit ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 6070 of file 6309.c.

◆ cpu_complement2_8bit()

void cpu_complement2_8bit ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 6045 of file 6309.c.

◆ cpu_complement2_nbit()

void cpu_complement2_nbit ( Environment * _environment,
char * _source,
char * _destination,
int _bits )

Definition at line 6093 of file 6309.c.

◆ cpu_convert_string_into_16bit()

void cpu_convert_string_into_16bit ( Environment * _environment,
char * _string,
char * _len,
char * _value )

Definition at line 5502 of file 6309.c.

◆ cpu_convert_string_into_8bit()

void cpu_convert_string_into_8bit ( Environment * _environment,
char * _string,
char * _len,
char * _value )

Definition at line 5487 of file 6309.c.

◆ cpu_ctoa()

void cpu_ctoa ( Environment * _environment)

Definition at line 279 of file 6309.c.

◆ cpu_dec()

void cpu_dec ( Environment * _environment,
char * _variable )

Definition at line 4630 of file 6309.c.

◆ cpu_dec_16bit()

void cpu_dec_16bit ( Environment * _environment,
char * _variable )

Definition at line 4640 of file 6309.c.

◆ cpu_dec_32bit()

void cpu_dec_32bit ( Environment * _environment,
char * _variable )

Definition at line 4652 of file 6309.c.

◆ cpu_dec_nbit()

void cpu_dec_nbit ( Environment * _environment,
char * _variable,
int _bits )

Definition at line 4672 of file 6309.c.

◆ cpu_decrypt()

void cpu_decrypt ( Environment * _environment,
char * _data,
char * _data_size,
char * _key,
char * _key_size,
char * _output,
char * _result )

Definition at line 7582 of file 6309.c.

◆ cpu_di()

void cpu_di ( Environment * _environment)

Definition at line 4547 of file 6309.c.

◆ cpu_dsalloc()

void cpu_dsalloc ( Environment * _environment,
char * _size,
char * _index )

Definition at line 5895 of file 6309.c.

◆ cpu_dsalloc_size()

void cpu_dsalloc_size ( Environment * _environment,
int _size,
char * _index )

Definition at line 5906 of file 6309.c.

◆ cpu_dsassign()

void cpu_dsassign ( Environment * _environment,
char * _original,
char * _copy )

Definition at line 5997 of file 6309.c.

◆ cpu_dsassign_string()

void cpu_dsassign_string ( Environment * _environment,
char * _string,
char * _copy )

Definition at line 6009 of file 6309.c.

◆ cpu_dsdefine()

void cpu_dsdefine ( Environment * _environment,
char * _string,
char * _index )

Definition at line 5884 of file 6309.c.

◆ cpu_dsdescriptor()

void cpu_dsdescriptor ( Environment * _environment,
char * _index,
char * _address,
char * _size )

Definition at line 5977 of file 6309.c.

◆ cpu_dsfill()

void cpu_dsfill ( Environment * _environment,
char * _string,
char * _value )

Definition at line 7610 of file 6309.c.

◆ cpu_dsfill_value()

void cpu_dsfill_value ( Environment * _environment,
char * _string,
int _value )

Definition at line 7621 of file 6309.c.

◆ cpu_dsfree()

void cpu_dsfree ( Environment * _environment,
char * _index )

Definition at line 5917 of file 6309.c.

◆ cpu_dsgc()

void cpu_dsgc ( Environment * _environment)

Definition at line 5959 of file 6309.c.

◆ cpu_dsinit()

void cpu_dsinit ( Environment * _environment)

Definition at line 5968 of file 6309.c.

◆ cpu_dsresize()

void cpu_dsresize ( Environment * _environment,
char * _index,
char * _size )

Definition at line 5937 of file 6309.c.

◆ cpu_dsresize_size()

void cpu_dsresize_size ( Environment * _environment,
char * _index,
int _size )

Definition at line 5948 of file 6309.c.

◆ cpu_dstring_vars()

void cpu_dstring_vars ( Environment * _environment)

Definition at line 6128 of file 6309.c.

◆ cpu_dswrite()

void cpu_dswrite ( Environment * _environment,
char * _index )

Definition at line 5927 of file 6309.c.

◆ cpu_ei()

void cpu_ei ( Environment * _environment)

Definition at line 4551 of file 6309.c.

◆ cpu_encrypt()

void cpu_encrypt ( Environment * _environment,
char * _data,
char * _data_size,
char * _key,
char * _key_size,
char * _output )

Definition at line 7569 of file 6309.c.

◆ cpu_end()

void cpu_end ( Environment * _environment)

Definition at line 4064 of file 6309.c.

◆ cpu_execute_compare_and_branch_8bit_const()

void cpu_execute_compare_and_branch_8bit_const ( Environment * _environment,
int _destination,
char * _label,
int _positive )

CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare
_labelWhere to jump
_positiveInvert meaning of comparison

CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare
_labelWhere to jump
_positiveInvert meaning of comparison

Definition at line 901 of file 6309.c.

◆ cpu_f32add()

void cpu_f32add ( char * _x,
char * _y,
char * _result )

◆ cpu_f32div()

void cpu_f32div ( char * _x,
char * _y,
char * _result )

◆ cpu_f32exp()

void cpu_f32exp ( char * _x,
char * _result )

◆ cpu_f32ln()

void cpu_f32ln ( char * _x,
char * _result )

◆ cpu_f32log10()

void cpu_f32log10 ( char * _x,
char * _result )

◆ cpu_f32mul()

void cpu_f32mul ( char * _x,
char * _y,
char * _result )

◆ cpu_f32sub()

void cpu_f32sub ( char * _x,
char * _y,
char * _result )

◆ cpu_fill()

void cpu_fill ( Environment * _environment,
char * _address,
char * _bytes,
int _bytes_width,
char * _pattern )

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given <PATTERN (<PATTERN size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_<PATTERN<PATTERN to use

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given pattern (pattern size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_patternPattern to use

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given <PATTERN (<PATTERN size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_<PATTERN<PATTERN to use

Definition at line 534 of file 6309.c.

◆ cpu_fill_blocks()

void cpu_fill_blocks ( Environment * _environment,
char * _address,
char * _blocks,
char * _pattern )

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given <PATTERN (<PATTERN size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_blocksNumber of 256 bytes blocks to fill
_<PATTERN<PATTERN to use

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given pattern (pattern size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_blocksNumber of 256 bytes blocks to fill
_patternPattern to use

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given <PATTERN (<PATTERN size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_blocksNumber of 256 bytes blocks to fill
_<PATTERN<PATTERN to use

Definition at line 484 of file 6309.c.

◆ cpu_fill_direct()

void cpu_fill_direct ( Environment * _environment,
char * _address,
char * _bytes,
char * _pattern )

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given <PATTERN (<PATTERN size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_<PATTERN<PATTERN to use

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given pattern (pattern size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_patternPattern to use

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given <PATTERN (<PATTERN size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_<PATTERN<PATTERN to use

Definition at line 643 of file 6309.c.

◆ cpu_fill_direct_size()

void cpu_fill_direct_size ( Environment * _environment,
char * _address,
int _bytes,
char * _pattern )

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given <PATTERN (<PATTERN size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_<PATTERN<PATTERN to use

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given pattern (pattern size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_patternPattern to use

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given <PATTERN (<PATTERN size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_<PATTERN<PATTERN to use

Definition at line 675 of file 6309.c.

◆ cpu_fill_direct_size_value()

void cpu_fill_direct_size_value ( Environment * _environment,
char * _address,
int _bytes,
int _pattern )

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given <PATTERN (<PATTERN size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_<PATTERN<PATTERN to use

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given pattern (pattern size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_patternPattern to use

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given <PATTERN (<PATTERN size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_<PATTERN<PATTERN to use

Definition at line 712 of file 6309.c.

◆ cpu_fill_indirect()

void cpu_fill_indirect ( Environment * _environment,
char * _address,
char * _size,
char * _pattern,
int _size_size )

Definition at line 5517 of file 6309.c.

◆ cpu_fill_size()

void cpu_fill_size ( Environment * _environment,
char * _address,
int _bytes,
char * _pattern )

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given <PATTERN (<PATTERN size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_<PATTERN<PATTERN to use

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given pattern (pattern size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_patternPattern to use

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given <PATTERN (<PATTERN size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_<PATTERN<PATTERN to use

Definition at line 575 of file 6309.c.

◆ cpu_fill_size_value()

void cpu_fill_size_value ( Environment * _environment,
char * _address,
int _bytes,
int _pattern )

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given <PATTERN (<PATTERN size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_<PATTERN<PATTERN to use

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given pattern (pattern size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_patternPattern to use

CPU 6309: emit code to fill up a memory area

This function can be used to output a piece of code that fills a given memory area with a given <PATTERN (<PATTERN size: 1 byte). The starting address must be contained in a variable, while the area must be a multiple of 256 bytes.

Parameters
_environmentCurrent calling environment
_addressStarting address
_bytesNumber of bytes to fill
_<PATTERN<PATTERN to use

Definition at line 611 of file 6309.c.

◆ cpu_flip()

void cpu_flip ( Environment * _environment,
char * _source,
char * _size,
char * _destination )

Definition at line 5562 of file 6309.c.

◆ cpu_flip_8bit()

void cpu_flip_8bit ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 5544 of file 6309.c.

◆ cpu_float_fast_add()

void cpu_float_fast_add ( Environment * _environment,
char * _x,
char * _y,
char * _result )

Definition at line 7151 of file 6309.c.

◆ cpu_float_fast_cmp()

void cpu_float_fast_cmp ( Environment * _environment,
char * _x,
char * _y,
char * _result )

Definition at line 7172 of file 6309.c.

◆ cpu_float_fast_cos()

void cpu_float_fast_cos ( Environment * _environment,
char * _angle,
char * _result )

Definition at line 7268 of file 6309.c.

◆ cpu_float_fast_div()

void cpu_float_fast_div ( Environment * _environment,
char * _x,
char * _y,
char * _result )

Definition at line 7228 of file 6309.c.

◆ cpu_float_fast_exp()

void cpu_float_fast_exp ( Environment * _environment,
char * _value,
char * _result )

Definition at line 7325 of file 6309.c.

◆ cpu_float_fast_from_16()

void cpu_float_fast_from_16 ( Environment * _environment,
char * _value,
char * _result,
int _signed )

Definition at line 7066 of file 6309.c.

◆ cpu_float_fast_from_8()

void cpu_float_fast_from_8 ( Environment * _environment,
char * _value,
char * _result,
int _signed )

Definition at line 7043 of file 6309.c.

◆ cpu_float_fast_from_double_to_int_array()

void cpu_float_fast_from_double_to_int_array ( Environment * _environment,
double _value,
int _result[] )

Definition at line 6743 of file 6309.c.

◆ cpu_float_fast_from_int_array_to_double()

void cpu_float_fast_from_int_array_to_double ( Environment * _environment,
int _value[],
double * _result )

Definition at line 8705 of file 6502.c.

◆ cpu_float_fast_log()

void cpu_float_fast_log ( Environment * _environment,
char * _value,
char * _result )

Definition at line 7306 of file 6309.c.

◆ cpu_float_fast_mul()

void cpu_float_fast_mul ( Environment * _environment,
char * _x,
char * _y,
char * _result )

Definition at line 7207 of file 6309.c.

◆ cpu_float_fast_sin()

void cpu_float_fast_sin ( Environment * _environment,
char * _angle,
char * _result )

Definition at line 7249 of file 6309.c.

◆ cpu_float_fast_sub()

void cpu_float_fast_sub ( Environment * _environment,
char * _x,
char * _y,
char * _result )

Definition at line 7130 of file 6309.c.

◆ cpu_float_fast_tan()

void cpu_float_fast_tan ( Environment * _environment,
char * _angle,
char * _result )

Definition at line 7287 of file 6309.c.

◆ cpu_float_fast_to_16()

void cpu_float_fast_to_16 ( Environment * _environment,
char * _value,
char * _result,
int _signed )

Definition at line 7109 of file 6309.c.

◆ cpu_float_fast_to_8()

void cpu_float_fast_to_8 ( Environment * _environment,
char * _value,
char * _result,
int _signed )

Definition at line 7088 of file 6309.c.

◆ cpu_float_fast_to_string()

void cpu_float_fast_to_string ( Environment * _environment,
char * _x,
char * _string,
char * _string_size )

Definition at line 7019 of file 6309.c.

◆ cpu_float_single_add()

void cpu_float_single_add ( Environment * _environment,
char * _x,
char * _y,
char * _result )

Definition at line 7155 of file 6309.c.

◆ cpu_float_single_cmp()

void cpu_float_single_cmp ( Environment * _environment,
char * _x,
char * _y,
char * _result )

Definition at line 7176 of file 6309.c.

◆ cpu_float_single_cos()

void cpu_float_single_cos ( Environment * _environment,
char * _angle,
char * _result )

Definition at line 7272 of file 6309.c.

◆ cpu_float_single_div()

void cpu_float_single_div ( Environment * _environment,
char * _x,
char * _y,
char * _result )

Definition at line 7232 of file 6309.c.

◆ cpu_float_single_exp()

void cpu_float_single_exp ( Environment * _environment,
char * _value,
char * _result )

Definition at line 7329 of file 6309.c.

◆ cpu_float_single_from_16()

void cpu_float_single_from_16 ( Environment * _environment,
char * _value,
char * _result,
int _signed )

Definition at line 7070 of file 6309.c.

◆ cpu_float_single_from_8()

void cpu_float_single_from_8 ( Environment * _environment,
char * _value,
char * _result,
int _signed )

Definition at line 7047 of file 6309.c.

◆ cpu_float_single_from_double_to_int_array()

void cpu_float_single_from_double_to_int_array ( Environment * _environment,
double _value,
int _result[] )

Definition at line 6747 of file 6309.c.

◆ cpu_float_single_from_int_array_to_double()

void cpu_float_single_from_int_array_to_double ( Environment * _environment,
int _value[],
double * _result )

Definition at line 8709 of file 6502.c.

◆ cpu_float_single_log()

void cpu_float_single_log ( Environment * _environment,
char * _value,
char * _result )

Definition at line 7310 of file 6309.c.

◆ cpu_float_single_mul()

void cpu_float_single_mul ( Environment * _environment,
char * _x,
char * _y,
char * _result )

Definition at line 7211 of file 6309.c.

◆ cpu_float_single_sin()

void cpu_float_single_sin ( Environment * _environment,
char * _angle,
char * _result )

Definition at line 7253 of file 6309.c.

◆ cpu_float_single_sub()

void cpu_float_single_sub ( Environment * _environment,
char * _x,
char * _y,
char * _result )

Definition at line 7134 of file 6309.c.

◆ cpu_float_single_tan()

void cpu_float_single_tan ( Environment * _environment,
char * _angle,
char * _result )

Definition at line 7291 of file 6309.c.

◆ cpu_float_single_to_16()

void cpu_float_single_to_16 ( Environment * _environment,
char * _value,
char * _result,
int _signed )

Definition at line 7113 of file 6309.c.

◆ cpu_float_single_to_8()

void cpu_float_single_to_8 ( Environment * _environment,
char * _value,
char * _result,
int _signed )

Definition at line 7092 of file 6309.c.

◆ cpu_float_single_to_string()

void cpu_float_single_to_string ( Environment * _environment,
char * _x,
char * _string,
char * _string_size )

Definition at line 7023 of file 6309.c.

◆ cpu_get_asmio_indirect()

void cpu_get_asmio_indirect ( Environment * _environment,
int _asmio,
char * _value )

Definition at line 3967 of file 6309.c.

◆ cpu_greater_than_16bit()

void cpu_greater_than_16bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
int _equal,
int _signed )

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_equalTrue if equal

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_equalTrue if equal

Definition at line 1632 of file 6309.c.

◆ cpu_greater_than_16bit_const()

void cpu_greater_than_16bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _name,
int _equal,
int _signed )

Definition at line 1642 of file 6309.c.

◆ cpu_greater_than_32bit()

void cpu_greater_than_32bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
int _equal,
int _signed )

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_equalTrue if equal

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_equalTrue if equal

Definition at line 3117 of file 6309.c.

◆ cpu_greater_than_32bit_const()

void cpu_greater_than_32bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _name,
int _equal,
int _signed )

Definition at line 3153 of file 6309.c.

◆ cpu_greater_than_8bit()

void cpu_greater_than_8bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
int _equal,
int _signed )

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_equalTrue if equal

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_equalTrue if equal

Definition at line 989 of file 6309.c.

◆ cpu_greater_than_8bit_const()

void cpu_greater_than_8bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _name,
int _equal,
int _signed )

Definition at line 999 of file 6309.c.

◆ cpu_greater_than_memory()

void cpu_greater_than_memory ( Environment * _environment,
char * _source,
char * _destination,
char * _size,
char * _result,
int _equal )

Definition at line 5105 of file 6309.c.

◆ cpu_greater_than_memory_size()

void cpu_greater_than_memory_size ( Environment * _environment,
char * _source,
char * _destination,
int _size,
char * _result,
int _equal )

Definition at line 5170 of file 6309.c.

◆ cpu_greater_than_nbit()

void cpu_greater_than_nbit ( Environment * _environment,
char * _source,
char * _destination,
char * _name,
int _equal,
int _bits )

Definition at line 3189 of file 6309.c.

◆ cpu_greater_than_nbit_const()

void cpu_greater_than_nbit_const ( Environment * _environment,
char * _source,
int _destination,
char * _name,
int _equal,
int _bits )

Definition at line 3200 of file 6309.c.

◆ cpu_halt()

void cpu_halt ( Environment * _environment)

Definition at line 4050 of file 6309.c.

◆ cpu_hex_to_bin()

void cpu_hex_to_bin ( Environment * _environment,
char * _value_address,
char * _value_size,
char * _variable_address,
char * _variable_size,
char * _result )

Definition at line 7597 of file 6309.c.

◆ cpu_hex_to_string()

void cpu_hex_to_string ( Environment * _environment,
char * _number,
char * _string,
char * _size,
int _separator )

Definition at line 5865 of file 6309.c.

◆ cpu_hex_to_string_calc_string()

void cpu_hex_to_string_calc_string ( Environment * _environment,
char * _size,
int _separator,
char * _string_size )

Definition at line 5831 of file 6309.c.

◆ cpu_hex_to_string_calc_string_size()

void cpu_hex_to_string_calc_string_size ( Environment * _environment,
int _size,
int _separator,
char * _string_size )

Definition at line 5848 of file 6309.c.

◆ cpu_in()

void cpu_in ( Environment * _environment,
char * _port,
char * _value )

Definition at line 6357 of file 6309.c.

◆ cpu_in_direct()

void cpu_in_direct ( Environment * _environment,
char * _port,
char * _value )

Definition at line 6365 of file 6309.c.

◆ cpu_inc()

void cpu_inc ( Environment * _environment,
char * _variable )

Definition at line 4555 of file 6309.c.

◆ cpu_inc_16bit()

void cpu_inc_16bit ( Environment * _environment,
char * _variable )

Definition at line 4565 of file 6309.c.

◆ cpu_inc_32bit()

void cpu_inc_32bit ( Environment * _environment,
char * _variable )

Definition at line 4586 of file 6309.c.

◆ cpu_inc_nbit()

void cpu_inc_nbit ( Environment * _environment,
char * _variable,
int _bits )

Definition at line 4613 of file 6309.c.

◆ cpu_init()

void cpu_init ( Environment * _environment)

Definition at line 62 of file 6309.c.

◆ cpu_jump()

void cpu_jump ( Environment * _environment,
char * _label )

Definition at line 3739 of file 6309.c.

◆ cpu_jump_indirect()

void cpu_jump_indirect ( Environment * _environment,
char * _value )

Definition at line 3783 of file 6309.c.

◆ cpu_label()

void cpu_label ( Environment * _environment,
char * _label )

Definition at line 356 of file 6309.c.

◆ cpu_less_than_16bit()

void cpu_less_than_16bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
int _equal,
int _signed )

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_equalTrue if equal

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_equalTrue if equal

Definition at line 1603 of file 6309.c.

◆ cpu_less_than_16bit_const()

void cpu_less_than_16bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _name,
int _equal,
int _signed )

Definition at line 1613 of file 6309.c.

◆ cpu_less_than_32bit()

void cpu_less_than_32bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
int _equal,
int _signed )

CPU 6309: emit code to compare two 32 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_equalTrue if equal

CPU 6309: emit code to compare two 32 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_equalTrue if equal

Definition at line 2949 of file 6309.c.

◆ cpu_less_than_32bit_const()

void cpu_less_than_32bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _name,
int _equal,
int _signed )

Definition at line 2985 of file 6309.c.

◆ cpu_less_than_8bit()

void cpu_less_than_8bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
int _equal,
int _signed )

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_equalTrue if equal

CPU 6309: emit code to compare two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare and destination address for result (if _other is NULL)
_otherDestination address for result
_equalTrue if equal

Definition at line 950 of file 6309.c.

◆ cpu_less_than_8bit_const()

void cpu_less_than_8bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _name,
int _equal,
int _signed )

Definition at line 960 of file 6309.c.

◆ cpu_less_than_and_branch_8bit_const()

void cpu_less_than_and_branch_8bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _label,
int _equal,
int _signed )

Definition at line 970 of file 6309.c.

◆ cpu_less_than_memory()

void cpu_less_than_memory ( Environment * _environment,
char * _source,
char * _destination,
char * _size,
char * _result,
int _equal )

Definition at line 4969 of file 6309.c.

◆ cpu_less_than_memory_size()

void cpu_less_than_memory_size ( Environment * _environment,
char * _source,
char * _destination,
int _size,
char * _result,
int _equal )

Definition at line 5034 of file 6309.c.

◆ cpu_less_than_nbit()

void cpu_less_than_nbit ( Environment * _environment,
char * _source,
char * _destination,
char * _name,
int _equal,
int _bits )

Definition at line 3021 of file 6309.c.

◆ cpu_less_than_nbit_const()

void cpu_less_than_nbit_const ( Environment * _environment,
char * _source,
int _destination,
char * _name,
int _equal,
int _bits )

Definition at line 3065 of file 6309.c.

◆ cpu_limit_16bit()

void cpu_limit_16bit ( Environment * _environment,
char * _variable,
int _value )

Definition at line 4164 of file 6309.c.

◆ cpu_logical_and_8bit()

void cpu_logical_and_8bit ( Environment * _environment,
char * _left,
char * _right,
char * _result )

Definition at line 4198 of file 6309.c.

◆ cpu_logical_not_8bit()

void cpu_logical_not_8bit ( Environment * _environment,
char * _value,
char * _result )

Definition at line 4493 of file 6309.c.

◆ cpu_logical_or_8bit()

void cpu_logical_or_8bit ( Environment * _environment,
char * _left,
char * _right,
char * _result )

Definition at line 4275 of file 6309.c.

◆ cpu_lowercase()

void cpu_lowercase ( Environment * _environment,
char * _source,
char * _size,
char * _result )

Definition at line 5451 of file 6309.c.

◆ cpu_math_add_16bit()

void cpu_math_add_16bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other )

CPU 6309: emit code to add two 16 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to add
_destinationSecond value to add and destination address for result (if _other is NULL)
_otherDestination address for result

CPU 6309: emit code to add two 16 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to add
_destinationSecond value to add and destination address for result (if _other is NULL)
_otherDestination address for result

CPU 6309: emit code to add two 16 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to add (memory)
_destinationSecond value to add and destination address for result (if _other is NULL)
_otherDestination address for result

Definition at line 1661 of file 6309.c.

◆ cpu_math_add_16bit_const()

void cpu_math_add_16bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _other )

CPU 6502: emit code to add two 16 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to add
_destinationSecond value to add and destination address for result (if _other is NULL)
_otherDestination address for result

Definition at line 1674 of file 6309.c.

◆ cpu_math_add_16bit_with_16bit()

void cpu_math_add_16bit_with_16bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other )

CPU 6309: emit code to add two 16 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to add
_destinationSecond value to add and destination address for result (if _other is NULL)
_otherDestination address for result

CPU 6309: emit code to add two 16 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to add
_destinationSecond value to add and destination address for result (if _other is NULL)
_otherDestination address for result

Definition at line 1696 of file 6309.c.

◆ cpu_math_add_16bit_with_8bit()

void cpu_math_add_16bit_with_8bit ( Environment * _environment,
char * _source,
char * _destination,
char * _name )

Definition at line 1708 of file 6309.c.

◆ cpu_math_add_32bit()

void cpu_math_add_32bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other )

CPU 6309: emit code to add two 32 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to add
_destinationSecond value to add and destination address for result (if _other is NULL)
_otherDestination address for result

CPU 6309: emit code to add two 32 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to add
_destinationSecond value to add and destination address for result (if _other is NULL)
_otherDestination address for result

Definition at line 3219 of file 6309.c.

◆ cpu_math_add_32bit_const()

void cpu_math_add_32bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _name )

Definition at line 3257 of file 6309.c.

◆ cpu_math_add_8bit()

void cpu_math_add_8bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other )

CPU 6309: emit code to add two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to add
_destinationSecond value to add and destination address for result (if _other is NULL)
_otherDestination address for result

CPU 6309: emit code to add two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to add
_destinationSecond value to add and destination address for result (if _other is NULL)
_otherDestination address for result

Definition at line 1017 of file 6309.c.

◆ cpu_math_add_8bit_const()

void cpu_math_add_8bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _other )

CPU 6502: emit code to add two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to add
_destinationSecond value to add and destination address for result (if _other is NULL)
_otherDestination address for result

Definition at line 1029 of file 6309.c.

◆ cpu_math_add_nbit()

void cpu_math_add_nbit ( Environment * _environment,
char * _source,
char * _destination,
char * _name,
int _bits )

Definition at line 3238 of file 6309.c.

◆ cpu_math_add_nbit_const()

void cpu_math_add_nbit_const ( Environment * _environment,
char * _source,
int _destination,
char * _name,
int _bits )

Definition at line 4242 of file 6502.c.

◆ cpu_math_and_const_16bit()

void cpu_math_and_const_16bit ( Environment * _environment,
char * _source,
int _mask )

CPU 6309: emit code to mask with "and" a value of 16 bit

Parameters
_environmentCurrent calling environment
_sourceValue to mask (and destination of mask operation)
_maskMask to use

CPU 6309: emit code to mask with "and" a value of 16 bit

Parameters
_environmentCurrent calling environment
_sourceValue to mask (and destination of mask operation)
_maskMask to use

Definition at line 2496 of file 6309.c.

◆ cpu_math_and_const_32bit()

void cpu_math_and_const_32bit ( Environment * _environment,
char * _source,
int _mask )

CPU 6309: emit code to mask with "and" a value of 32 bit

Parameters
_environmentCurrent calling environment
_sourceValue to mask (and destination of mask operation)
_maskMask to use

CPU 6309: emit code to mask with "and" a value of 32 bit

Parameters
_environmentCurrent calling environment
_sourceValue to mask (and destination of mask operation)
_maskMask to use

Definition at line 3698 of file 6309.c.

◆ cpu_math_and_const_8bit()

void cpu_math_and_const_8bit ( Environment * _environment,
char * _source,
int _mask )

CPU 6309: emit code to mask with "and" a value of 8 bit

Parameters
_environmentCurrent calling environment
_sourceValue to mask (and destination of mask operation)
_maskMask to use

CPU 6309: emit code to mask with "and" a value of 8 bit

Parameters
_environmentCurrent calling environment
_sourceValue to mask (and destination of mask operation)
_maskMask to use

Definition at line 1451 of file 6309.c.

◆ cpu_math_complement_const_16bit()

void cpu_math_complement_const_16bit ( Environment * _environment,
char * _source,
int _value )

CPU 6309: emit code to calculate a 16 bit complement of a number

Parameters
_environmentCurrent calling environment
_sourceValue to complement
_valueValure to use as base for complement

CPU 6309: emit code to calculate a 16 bit complement of a number

Parameters
_environmentCurrent calling environment
_sourceValue to complement
_valueValure to use as base for complement

Definition at line 2337 of file 6309.c.

◆ cpu_math_complement_const_32bit()

void cpu_math_complement_const_32bit ( Environment * _environment,
char * _source,
int _value )

CPU 6309: emit code to calculate a 32 bit complement of a number

Parameters
_environmentCurrent calling environment
_sourceValue to complement
_valueValure to use as base for complement

CPU 6309: emit code to calculate a 32 bit complement of a number

Parameters
_environmentCurrent calling environment
_sourceValue to complement
_valueValure to use as base for complement

Definition at line 3352 of file 6309.c.

◆ cpu_math_complement_const_8bit()

void cpu_math_complement_const_8bit ( Environment * _environment,
char * _source,
int _value )

CPU 6309: emit code to calculate an 8 bit complement of a number

Parameters
_environmentCurrent calling environment
_sourceValue to complement
_valueValure to use as base for complement

CPU 6309: emit code to calculate an 8 bit complement of a number

Parameters
_environmentCurrent calling environment
_sourceValue to complement
_valueValure to use as base for complement

Definition at line 1432 of file 6309.c.

◆ cpu_math_div2_const_16bit()

void cpu_math_div2_const_16bit ( Environment * _environment,
char * _source,
int _steps,
int _signed,
char * _remainder )

CPU 6309: emit code to halves for several times a 16 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to halves and destination for result
_stepsTimes to halves

CPU 6309: emit code to halves for several times a 16 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to halves and destination for result
_stepsTimes to halves

Definition at line 2356 of file 6309.c.

◆ cpu_math_div2_const_32bit()

void cpu_math_div2_const_32bit ( Environment * _environment,
char * _source,
int _steps,
int _signed,
char * _remainder )

CPU 6309: emit code to halves for several times a 32 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to halves and destination for result
_stepsTimes to halves

CPU 6309: emit code to halves for several times a 32 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to halves and destination for result
_stepsTimes to halves

Definition at line 3376 of file 6309.c.

◆ cpu_math_div2_const_8bit()

void cpu_math_div2_const_8bit ( Environment * _environment,
char * _source,
int _steps,
int _signed,
char * _remainder )

CPU 6309: emit code to halves for several times a 8 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to halves and destination for result
_stepsTimes to halves

CPU 6309: emit code to halves for several times a 8 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to halves and destination for result
_stepsTimes to halves

Definition at line 1329 of file 6309.c.

◆ cpu_math_div2_const_nbit()

void cpu_math_div2_const_nbit ( Environment * _environment,
char * _source,
int _value,
int _bits,
char * _remainder )

Definition at line 3503 of file 6309.c.

◆ cpu_math_div_16bit_to_16bit()

void cpu_math_div_16bit_to_16bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
char * _other_remainder,
int _signed )

Definition at line 2009 of file 6309.c.

◆ cpu_math_div_16bit_to_16bit_const()

void cpu_math_div_16bit_to_16bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _other,
char * _other_remainder,
int _signed )

Definition at line 2153 of file 6309.c.

◆ cpu_math_div_32bit_to_16bit()

void cpu_math_div_32bit_to_16bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
char * _other_remainder,
int _signed )

Definition at line 2554 of file 6309.c.

◆ cpu_math_div_32bit_to_16bit_const()

void cpu_math_div_32bit_to_16bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _other,
char * _other_remainder,
int _signed )

Definition at line 2734 of file 6309.c.

◆ cpu_math_div_8bit_to_8bit()

void cpu_math_div_8bit_to_8bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
char * _other_remainder,
int _signed )

Definition at line 1163 of file 6309.c.

◆ cpu_math_div_8bit_to_8bit_const()

void cpu_math_div_8bit_to_8bit_const ( Environment * _environment,
char * _source,
int _destination,
char * _other,
char * _other_remainder,
int _signed )

Definition at line 1242 of file 6309.c.

◆ cpu_math_div_nbit_to_nbit()

void cpu_math_div_nbit_to_nbit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
char * _other_remainder,
int _bits )

Definition at line 2571 of file 6309.c.

◆ cpu_math_div_nbit_to_nbit_const()

void cpu_math_div_nbit_to_nbit_const ( Environment * _environment,
char * _source,
int _destination,
char * _other,
char * _other_remainder,
int _bits )

Definition at line 2701 of file 6309.c.

◆ cpu_math_double_16bit()

void cpu_math_double_16bit ( Environment * _environment,
char * _source,
char * _other,
int _signed )

CPU 6309: emit code to double a 16 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to double and destination for result (if _other is NULL)
_otherDestination address for result

CPU 6309: emit code to double a 16 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to double and destination for result (if _other is NULL)
_otherDestination address for result

Definition at line 1728 of file 6309.c.

◆ cpu_math_double_32bit()

void cpu_math_double_32bit ( Environment * _environment,
char * _source,
char * _other,
int _signed )

CPU 6309: emit code to double a 32 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to double and destination for result (if _other is NULL)
_otherDestination address for result

CPU 6309: emit code to double a 32 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to double and destination for result (if _other is NULL)
_otherDestination address for result

Definition at line 3279 of file 6309.c.

◆ cpu_math_double_8bit()

void cpu_math_double_8bit ( Environment * _environment,
char * _source,
char * _other,
int _signed )

CPU 6309: emit code to double a 8 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to double and destination for result (if _other is NULL)
_otherDestination address for result

CPU 6309: emit code to double a 8 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to double and destination for result (if _other is NULL)
_otherDestination address for result

Definition at line 1068 of file 6309.c.

◆ cpu_math_mul2_const_16bit()

void cpu_math_mul2_const_16bit ( Environment * _environment,
char * _source,
int _steps,
int _signed )

CPU 6309: emit code to halves for several times a 8 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to halves and destination for result
_stepsTimes to halves

CPU 6309: emit code to halves for several times a 8 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to halves and destination for result
_stepsTimes to halves

Definition at line 2461 of file 6309.c.

◆ cpu_math_mul2_const_32bit()

void cpu_math_mul2_const_32bit ( Environment * _environment,
char * _source,
int _steps,
int _signed )

CPU 6309: emit code to double for several times a 32 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to double and destination for result
_stepsTimes to double

CPU 6309: emit code to double for several times a 32 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to double and destination for result
_stepsTimes to double

Definition at line 3547 of file 6309.c.

◆ cpu_math_mul2_const_8bit()

void cpu_math_mul2_const_8bit ( Environment * _environment,
char * _source,
int _steps,
int _signed )

CPU 6309: emit code to double for several times a 8 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to double and destination for result
_stepsTimes to double

CPU 6309: emit code to double for several times a 8 bit value

Parameters
_environmentCurrent calling environment
_sourceValue to double and destination for result
_stepsTimes to double

Definition at line 1397 of file 6309.c.

◆ cpu_math_mul2_const_nbit()

void cpu_math_mul2_const_nbit ( Environment * _environment,
char * _source,
int _value,
int _bits )

Definition at line 3664 of file 6309.c.

◆ cpu_math_mul_16bit_to_32bit()

void cpu_math_mul_16bit_to_32bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
int _signed )

CPU 6309: emit code to multiply two 16 bit values in a 32 bit register

Parameters
_environmentCurrent calling environment
_sourceFirst value to multipy (16 bit)
_destinationSecond value to multipy (16 bit)
_otherDestination address for result (32 bit)

CPU 6309: emit code to multiply two 16 bit values in a 32 bit register

Parameters
_environmentCurrent calling environment
_sourceFirst value to multipy (16 bit)
_destinationSecond value to multipy (16 bit)
_otherDestination address for result (32 bit)

Definition at line 1752 of file 6309.c.

◆ cpu_math_mul_8bit_to_16bit()

void cpu_math_mul_8bit_to_16bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other,
int _signed )

CPU 6309: emit code to multiply two 8bit values in a 16 bit register

Parameters
_environmentCurrent calling environment
_sourceFirst value to multipy (8 bit)
_destinationSecond value to multipy (8 bit)
_otherDestination address for result (16 bit)

CPU 6309: emit code to multiply two 8bit values in a 16 bit register

Parameters
_environmentCurrent calling environment
_sourceFirst value to multipy (8 bit)
_destinationSecond value to multipy (8 bit)
_otherDestination address for result (16 bit)

Definition at line 1088 of file 6309.c.

◆ cpu_math_mul_nbit_to_nbit()

void cpu_math_mul_nbit_to_nbit ( Environment * _environment,
char * _source,
char * _destination,
char * _name,
int _bits )

Definition at line 1886 of file 6309.c.

◆ cpu_math_sub_16bit()

void cpu_math_sub_16bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other )

CPU 6309: emit code to subtract two 16 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to subtract
_destinationSecond value to subtract and destination address for result (if _other is NULL)
_otherDestination address for result

CPU 6309: emit code to subtract two 16 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to subtract
_destinationSecond value to subtract and destination address for result (if _other is NULL)
_otherDestination address for result

Definition at line 2305 of file 6309.c.

◆ cpu_math_sub_16bit_with_8bit()

void cpu_math_sub_16bit_with_8bit ( Environment * _environment,
char * _source,
char * _destination,
char * _name )

Definition at line 2317 of file 6309.c.

◆ cpu_math_sub_32bit()

void cpu_math_sub_32bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other )

CPU 6309: emit code to subtract two 32 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to subtract
_destinationSecond value to subtract and destination address for result (if _other is NULL)
_otherDestination address for result

CPU 6309: emit code to subtract two 32 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to subtract
_destinationSecond value to subtract and destination address for result (if _other is NULL)
_otherDestination address for result

Definition at line 3304 of file 6309.c.

◆ cpu_math_sub_8bit()

void cpu_math_sub_8bit ( Environment * _environment,
char * _source,
char * _destination,
char * _other )

CPU 6309: emit code to subtract two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to subtract
_destinationSecond value to subtract and destination address for result (if _other is NULL)
_otherDestination address for result

CPU 6309: emit code to subtract two 8 bit values

Parameters
_environmentCurrent calling environment
_sourceFirst value to subtract
_destinationSecond value to subtract and destination address for result (if _other is NULL)
_otherDestination address for result

Definition at line 1049 of file 6309.c.

◆ cpu_math_sub_nbit()

void cpu_math_sub_nbit ( Environment * _environment,
char * _source,
char * _destination,
char * _name,
int _bits )

Definition at line 3325 of file 6309.c.

◆ cpu_mem_move()

void cpu_mem_move ( Environment * _environment,
char * _source,
char * _destination,
char * _size )

Definition at line 4692 of file 6309.c.

◆ cpu_mem_move_16bit()

void cpu_mem_move_16bit ( Environment * _environment,
char * _source,
char * _destination,
char * _size )

Definition at line 4711 of file 6309.c.

◆ cpu_mem_move_direct()

void cpu_mem_move_direct ( Environment * _environment,
char * _source,
char * _destination,
char * _size )

Definition at line 4728 of file 6309.c.

◆ cpu_mem_move_direct2()

void cpu_mem_move_direct2 ( Environment * _environment,
char * _source,
char * _destination,
char * _size )

Definition at line 4764 of file 6309.c.

◆ cpu_mem_move_direct2_size()

void cpu_mem_move_direct2_size ( Environment * _environment,
char * _source,
char * _destination,
int _size )

Definition at line 4747 of file 6309.c.

◆ cpu_mem_move_direct_indirect_size()

void cpu_mem_move_direct_indirect_size ( Environment * _environment,
char * _source,
char * _destination,
int _size )

Definition at line 4815 of file 6309.c.

◆ cpu_mem_move_direct_size()

void cpu_mem_move_direct_size ( Environment * _environment,
char * _source,
char * _destination,
int _size )

Definition at line 4798 of file 6309.c.

◆ cpu_mem_move_indirect_direct_size()

void cpu_mem_move_indirect_direct_size ( Environment * _environment,
char * _source,
char * _destination,
int _size )

Definition at line 4832 of file 6309.c.

◆ cpu_mem_move_size()

void cpu_mem_move_size ( Environment * _environment,
char * _source,
char * _destination,
int _size )

Definition at line 4781 of file 6309.c.

◆ cpu_move_16bit()

void cpu_move_16bit ( Environment * _environment,
char * _source,
char * _destination )

CPU 6309: emit code to move 16 bit

Parameters
_environmentCurrent calling environment
_sourceSource of movement
_destinationDestination of movement

CPU 6309: emit code to move 16 bit

Parameters
_environmentCurrent calling environment
_sourceSource of movement
_destinationDestination of movement

Definition at line 1474 of file 6309.c.

◆ cpu_move_16bit_indirect()

void cpu_move_16bit_indirect ( Environment * _environment,
char * _source,
char * _value )

Definition at line 5339 of file 6309.c.

◆ cpu_move_16bit_indirect2()

void cpu_move_16bit_indirect2 ( Environment * _environment,
char * _value,
char * _source )

Definition at line 5352 of file 6309.c.

◆ cpu_move_16bit_indirect2_8bit()

void cpu_move_16bit_indirect2_8bit ( Environment * _environment,
char * _value,
char * _source,
char * _index )

Definition at line 5365 of file 6309.c.

◆ cpu_move_16bit_signed_32bit_signed()

void cpu_move_16bit_signed_32bit_signed ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7478 of file 6309.c.

◆ cpu_move_16bit_signed_32bit_unsigned()

void cpu_move_16bit_signed_32bit_unsigned ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7488 of file 6309.c.

◆ cpu_move_16bit_signed_8bit_signed()

void cpu_move_16bit_signed_8bit_signed ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7453 of file 6309.c.

◆ cpu_move_16bit_signed_8bit_unsigned()

void cpu_move_16bit_signed_8bit_unsigned ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7459 of file 6309.c.

◆ cpu_move_16bit_unsigned_32bit_signed()

void cpu_move_16bit_unsigned_32bit_signed ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7499 of file 6309.c.

◆ cpu_move_16bit_unsigned_32bit_unsigned()

void cpu_move_16bit_unsigned_32bit_unsigned ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7507 of file 6309.c.

◆ cpu_move_16bit_unsigned_8bit_signed()

void cpu_move_16bit_unsigned_8bit_signed ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7465 of file 6309.c.

◆ cpu_move_16bit_unsigned_8bit_unsigned()

void cpu_move_16bit_unsigned_8bit_unsigned ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7471 of file 6309.c.

◆ cpu_move_32bit()

void cpu_move_32bit ( Environment * _environment,
char * _source,
char * _destination )

CPU 6309: emit code to move 32 bit

Parameters
_environmentCurrent calling environment
_sourceSource of movement
_destinationDestination of movement

CPU 6309: emit code to move 32 bit

Parameters
_environmentCurrent calling environment
_sourceSource of movement
_destinationDestination of movement

Definition at line 2520 of file 6309.c.

◆ cpu_move_32bit_indirect()

void cpu_move_32bit_indirect ( Environment * _environment,
char * _source,
char * _value )

Definition at line 5382 of file 6309.c.

◆ cpu_move_32bit_indirect2()

void cpu_move_32bit_indirect2 ( Environment * _environment,
char * _value,
char * _source )

Definition at line 5398 of file 6309.c.

◆ cpu_move_32bit_signed_16bit_signed()

void cpu_move_32bit_signed_16bit_signed ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7541 of file 6309.c.

◆ cpu_move_32bit_signed_16bit_unsigned()

void cpu_move_32bit_signed_16bit_unsigned ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7548 of file 6309.c.

◆ cpu_move_32bit_signed_8bit_signed()

void cpu_move_32bit_signed_8bit_signed ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7516 of file 6309.c.

◆ cpu_move_32bit_signed_8bit_unsigned()

void cpu_move_32bit_signed_8bit_unsigned ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7522 of file 6309.c.

◆ cpu_move_32bit_unsigned_16bit_signed()

void cpu_move_32bit_unsigned_16bit_signed ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7555 of file 6309.c.

◆ cpu_move_32bit_unsigned_16bit_unsigned()

void cpu_move_32bit_unsigned_16bit_unsigned ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7562 of file 6309.c.

◆ cpu_move_32bit_unsigned_8bit_signed()

void cpu_move_32bit_unsigned_8bit_signed ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7528 of file 6309.c.

◆ cpu_move_32bit_unsigned_8bit_unsigned()

void cpu_move_32bit_unsigned_8bit_unsigned ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7534 of file 6309.c.

◆ cpu_move_8bit()

void cpu_move_8bit ( Environment * _environment,
char * _source,
char * _destination )

CPU 6309: emit code to move 8 bit

Parameters
_environmentCurrent calling environment
_sourceSource of movement
_destinationDestination of movement

CPU 6309: emit code to move 8 bit

Parameters
_environmentCurrent calling environment
_sourceSource of movement
_destinationDestination of movement

Definition at line 743 of file 6309.c.

◆ cpu_move_8bit_indirect()

void cpu_move_8bit_indirect ( Environment * _environment,
char * _source,
char * _value )

Definition at line 5239 of file 6309.c.

◆ cpu_move_8bit_indirect2()

void cpu_move_8bit_indirect2 ( Environment * _environment,
char * _value,
char * _source )

Definition at line 5294 of file 6309.c.

◆ cpu_move_8bit_indirect2_16bit()

void cpu_move_8bit_indirect2_16bit ( Environment * _environment,
char * _value,
char * _offset,
char * _source )

Definition at line 5323 of file 6309.c.

◆ cpu_move_8bit_indirect2_8bit()

void cpu_move_8bit_indirect2_8bit ( Environment * _environment,
char * _value,
char * _offset,
char * _source )

Definition at line 5307 of file 6309.c.

◆ cpu_move_8bit_indirect_with_offset()

void cpu_move_8bit_indirect_with_offset ( Environment * _environment,
char * _source,
char * _value,
int _offset )

Definition at line 5250 of file 6309.c.

◆ cpu_move_8bit_indirect_with_offset2()

void cpu_move_8bit_indirect_with_offset2 ( Environment * _environment,
char * _source,
char * _value,
char * _offset )

Definition at line 5262 of file 6309.c.

◆ cpu_move_8bit_signed_16bit_signed()

void cpu_move_8bit_signed_16bit_signed ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7382 of file 6309.c.

◆ cpu_move_8bit_signed_16bit_unsigned()

void cpu_move_8bit_signed_16bit_unsigned ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7390 of file 6309.c.

◆ cpu_move_8bit_signed_32bit_signed()

void cpu_move_8bit_signed_32bit_signed ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7414 of file 6309.c.

◆ cpu_move_8bit_signed_32bit_unsigned()

void cpu_move_8bit_signed_32bit_unsigned ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7424 of file 6309.c.

◆ cpu_move_8bit_unsigned_16bit_signed()

void cpu_move_8bit_unsigned_16bit_signed ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7398 of file 6309.c.

◆ cpu_move_8bit_unsigned_16bit_unsigned()

void cpu_move_8bit_unsigned_16bit_unsigned ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7406 of file 6309.c.

◆ cpu_move_8bit_unsigned_32bit_signed()

void cpu_move_8bit_unsigned_32bit_signed ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7434 of file 6309.c.

◆ cpu_move_8bit_unsigned_32bit_unsigned()

void cpu_move_8bit_unsigned_32bit_unsigned ( Environment * _environment,
char * _source,
char * _destination )

Definition at line 7443 of file 6309.c.

◆ cpu_move_8bit_with_offset2()

void cpu_move_8bit_with_offset2 ( Environment * _environment,
char * _source,
char * _value,
char * _offset )

Definition at line 5278 of file 6309.c.

◆ cpu_move_nbit()

void cpu_move_nbit ( Environment * _environment,
int _n,
char * _source,
char * _destination )

CPU cpu6309: emit code to store n bit

Parameters
_environmentCurrent calling environment
_destinationDestination of store
_nbits to store (>32)
_value[]Value to store (segmented in 32 bit each)

CPU cpu6309: emit code to store n bit

Parameters
_environmentCurrent calling environment
_destinationDestination of store
_nbits to store (>32)
_value[]Value to store (segmented in 32 bit each)

Definition at line 6563 of file 6309.c.

◆ cpu_move_nbit_indirect()

void cpu_move_nbit_indirect ( Environment * _environment,
int _n,
char * _source,
char * _value )

Definition at line 6626 of file 6309.c.

◆ cpu_move_nbit_indirect2()

void cpu_move_nbit_indirect2 ( Environment * _environment,
int _n,
char * _source,
char * _value )

Definition at line 6681 of file 6309.c.

◆ cpu_msc1_uncompress_direct_direct()

void cpu_msc1_uncompress_direct_direct ( Environment * _environment,
char * _input,
char * _output )

Definition at line 6279 of file 6309.c.

◆ cpu_msc1_uncompress_direct_indirect()

void cpu_msc1_uncompress_direct_indirect ( Environment * _environment,
char * _input,
char * _output )

Definition at line 6305 of file 6309.c.

◆ cpu_msc1_uncompress_indirect_direct()

void cpu_msc1_uncompress_indirect_direct ( Environment * _environment,
char * _input,
char * _output )

Definition at line 6321 of file 6309.c.

◆ cpu_msc1_uncompress_indirect_indirect()

void cpu_msc1_uncompress_indirect_indirect ( Environment * _environment,
char * _input,
char * _output )

Definition at line 6337 of file 6309.c.

◆ cpu_nop()

void cpu_nop ( Environment * _environment)

Definition at line 256 of file 6309.c.

◆ cpu_not_16bit()

void cpu_not_16bit ( Environment * _environment,
char * _value,
char * _result )

Definition at line 4517 of file 6309.c.

◆ cpu_not_32bit()

void cpu_not_32bit ( Environment * _environment,
char * _value,
char * _result )

Definition at line 4530 of file 6309.c.

◆ cpu_not_8bit()

void cpu_not_8bit ( Environment * _environment,
char * _value,
char * _result )

Definition at line 4505 of file 6309.c.

◆ cpu_number_to_string()

void cpu_number_to_string ( Environment * _environment,
char * _number,
char * _string,
char * _string_size,
int _bits,
int _Signed )

Definition at line 5688 of file 6309.c.

◆ cpu_or_16bit()

void cpu_or_16bit ( Environment * _environment,
char * _left,
char * _right,
char * _result )

Definition at line 4320 of file 6309.c.

◆ cpu_or_32bit()

void cpu_or_32bit ( Environment * _environment,
char * _left,
char * _right,
char * _result )

Definition at line 4335 of file 6309.c.

◆ cpu_or_8bit()

void cpu_or_8bit ( Environment * _environment,
char * _left,
char * _right,
char * _result )

Definition at line 4292 of file 6309.c.

◆ cpu_or_8bit_const()

void cpu_or_8bit_const ( Environment * _environment,
char * _left,
int _right,
char * _result )

Definition at line 4306 of file 6309.c.

◆ cpu_out()

void cpu_out ( Environment * _environment,
char * _port,
char * _value )

Definition at line 6353 of file 6309.c.

◆ cpu_out_direct()

void cpu_out_direct ( Environment * _environment,
char * _port,
char * _value )

Definition at line 6361 of file 6309.c.

◆ cpu_peek()

void cpu_peek ( Environment * _environment,
char * _address,
char * _target )

Definition at line 366 of file 6309.c.

◆ cpu_peekd()

void cpu_peekd ( Environment * _environment,
char * _address,
char * _target )

Definition at line 432 of file 6309.c.

◆ cpu_peekw()

void cpu_peekw ( Environment * _environment,
char * _address,
char * _target )

Definition at line 399 of file 6309.c.

◆ cpu_poke()

void cpu_poke ( Environment * _environment,
char * _address,
char * _value )

Definition at line 377 of file 6309.c.

◆ cpu_poke_const()

void cpu_poke_const ( Environment * _environment,
char * _address,
int _value )

Definition at line 388 of file 6309.c.

◆ cpu_poked()

void cpu_poked ( Environment * _environment,
char * _address,
char * _value )

Definition at line 445 of file 6309.c.

◆ cpu_poked_const()

void cpu_poked_const ( Environment * _environment,
char * _address,
int _value )

Definition at line 458 of file 6309.c.

◆ cpu_pokew()

void cpu_pokew ( Environment * _environment,
char * _address,
char * _value )

Definition at line 410 of file 6309.c.

◆ cpu_pokew_const()

void cpu_pokew_const ( Environment * _environment,
char * _address,
int _value )

Definition at line 421 of file 6309.c.

◆ cpu_pop()

void cpu_pop ( Environment * _environment)

Definition at line 4040 of file 6309.c.

◆ cpu_port_out()

void cpu_port_out ( Environment * _environment,
char * _port,
char * _value )

Z80: emit code to send one byte throught a I/O port

Parameters
_environmentCurrent calling environment
_portPort to connect
_valueValue to send

Z80: emit code to send one byte throught a I/O port

Parameters
_environmentCurrent calling environment
_portPort to connect
_valueValue to send

Definition at line 2979 of file 8086.c.

◆ cpu_prepare_for_compare_and_branch_8bit()

void cpu_prepare_for_compare_and_branch_8bit ( Environment * _environment,
char * _source )

Z80: emit code to compare two 8 bit values and jump if they are equal/different

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare
_labelWhere to jump
_positiveInvert meaning of comparison

Z80: emit code to compare two 8 bit values and jump if they are equal/different

Parameters
_environmentCurrent calling environment
_sourceFirst value to compare
_destinationSecond value to compare
_labelWhere to jump
_positiveInvert meaning of comparison

Definition at line 841 of file 6309.c.

◆ cpu_protothread_current()

void cpu_protothread_current ( Environment * _environment,
char * _current )

Definition at line 6249 of file 6309.c.

◆ cpu_protothread_get_address()

void cpu_protothread_get_address ( Environment * _environment,
char * _index,
char * _address )

Definition at line 6258 of file 6309.c.

◆ cpu_protothread_get_state()

void cpu_protothread_get_state ( Environment * _environment,
char * _index,
char * _state )

Definition at line 6237 of file 6309.c.

◆ cpu_protothread_loop()

void cpu_protothread_loop ( Environment * _environment)

Definition at line 6162 of file 6309.c.

◆ cpu_protothread_register()

void cpu_protothread_register ( Environment * _environment,
char * _label,
char * _index )

Definition at line 6181 of file 6309.c.

◆ cpu_protothread_register_at()

void cpu_protothread_register_at ( Environment * _environment,
char * _index,
char * _label )

Definition at line 6170 of file 6309.c.

◆ cpu_protothread_restore()

void cpu_protothread_restore ( Environment * _environment,
char * _index,
char * _step )

Definition at line 6214 of file 6309.c.

◆ cpu_protothread_save()

void cpu_protothread_save ( Environment * _environment,
char * _index,
int _step )

Definition at line 6203 of file 6309.c.

◆ cpu_protothread_set_state()

void cpu_protothread_set_state ( Environment * _environment,
char * _index,
int _state )

Definition at line 6226 of file 6309.c.

◆ cpu_protothread_unregister()

void cpu_protothread_unregister ( Environment * _environment,
char * _index )

Definition at line 6193 of file 6309.c.

◆ cpu_protothread_vars()

void cpu_protothread_vars ( Environment * _environment)

Definition at line 6143 of file 6309.c.

◆ cpu_random()

void cpu_random ( Environment * _environment,
char * _entropy )

Definition at line 4075 of file 6309.c.

◆ cpu_random_16bit()

void cpu_random_16bit ( Environment * _environment,
char * _entropy,
char * _result )

Definition at line 4140 of file 6309.c.

◆ cpu_random_32bit()

void cpu_random_32bit ( Environment * _environment,
char * _entropy,
char * _result )

Definition at line 4151 of file 6309.c.

◆ cpu_random_8bit()

void cpu_random_8bit ( Environment * _environment,
char * _entropy,
char * _result )

Definition at line 4129 of file 6309.c.

◆ cpu_register_decode()

int cpu_register_decode ( Environment * _environment,
char * _register )

Definition at line 3793 of file 6309.c.

◆ cpu_return()

void cpu_return ( Environment * _environment)

Definition at line 4030 of file 6309.c.

◆ cpu_set_asmio()

void cpu_set_asmio ( Environment * _environment,
int _asmio,
int _value )

Definition at line 3838 of file 6309.c.

◆ cpu_set_asmio_indirect()

void cpu_set_asmio_indirect ( Environment * _environment,
int _asmio,
char * _value )

Definition at line 3904 of file 6309.c.

◆ cpu_set_callback()

void cpu_set_callback ( Environment * _environment,
char * _callback,
char * _label )

Definition at line 6270 of file 6309.c.

◆ cpu_sqroot()

void cpu_sqroot ( Environment * _environment,
char * _number,
char * _result )

Definition at line 6113 of file 6309.c.

◆ cpu_store_16bit()

void cpu_store_16bit ( Environment * _environment,
char * _destination,
int _value )

CPU 6309: emit code to store 16 bit

Parameters
_environmentCurrent calling environment
_destinationDestination of store
_valueValue to store

CPU 6309: emit code to store 16 bit

Parameters
_environmentCurrent calling environment
_destinationDestination of store
_valueValue to store

Definition at line 1503 of file 6309.c.

◆ cpu_store_32bit()

void cpu_store_32bit ( Environment * _environment,
char * _destination,
int _value )

CPU 6309: emit code to store 32 bit

Parameters
_environmentCurrent calling environment
_destinationDestination of store
_valueValue to store

CPU 6309: emit code to store 32 bit

Parameters
_environmentCurrent calling environment
_destinationDestination of store
_valueValue to store

Definition at line 2540 of file 6309.c.

◆ cpu_store_8bit()

void cpu_store_8bit ( Environment * _environment,
char * _destination,
int _value )

CPU 6309: emit code to store 8 bit

Parameters
_environmentCurrent calling environment
_destinationDestination of store
_valueValue to store

CPU 6309: emit code to store 8 bit

Parameters
_environmentCurrent calling environment
_destinationDestination of store
_valueValue to store

Definition at line 761 of file 6309.c.

◆ cpu_store_8bit_with_offset()

void cpu_store_8bit_with_offset ( Environment * _environment,
char * _destination,
int _value,
int _offset )

Definition at line 6021 of file 6309.c.

◆ cpu_store_8bit_with_offset2()

void cpu_store_8bit_with_offset2 ( Environment * _environment,
char * _destination,
char * _offset,
int _value )

Definition at line 6029 of file 6309.c.

◆ cpu_store_char()

void cpu_store_char ( Environment * _environment,
char * _destination,
int _value )

CPU 6309: emit code to store 8 bit

Parameters
_environmentCurrent calling environment
_destinationDestination of store
_valueValue to store

CPU 6309: emit code to store 8 bit

Parameters
_environmentCurrent calling environment
_destinationDestination of store
_valueValue to store

Definition at line 785 of file 6309.c.

◆ cpu_store_nbit()

void cpu_store_nbit ( Environment * _environment,
char * _destination,
int _n,
int _value[] )

CPU 6309: emit code to store n bit

Parameters
_environmentCurrent calling environment
_destinationDestination of store
_nbits to store (>32)
_value[]Value to store (segmented in 32 bit each)

CPU 6309: emit code to store n bit

Parameters
_environmentCurrent calling environment
_destinationDestination of store
_nbits to store (>32)
_value[]Value to store (segmented in 32 bit each)

Definition at line 6499 of file 6309.c.

◆ cpu_string_sub()

void cpu_string_sub ( Environment * _environment,
char * _source,
char * _source_size,
char * _pattern,
char * _pattern_size,
char * _destination,
char * _destination_size )

Definition at line 6370 of file 6309.c.

◆ cpu_swap_16bit()

void cpu_swap_16bit ( Environment * _environment,
char * _left,
char * _right )

Definition at line 4465 of file 6309.c.

◆ cpu_swap_32bit()

void cpu_swap_32bit ( Environment * _environment,
char * _left,
char * _right )

Definition at line 4479 of file 6309.c.

◆ cpu_swap_8bit()

void cpu_swap_8bit ( Environment * _environment,
char * _left,
char * _right )

Definition at line 4451 of file 6309.c.

◆ cpu_uppercase()

void cpu_uppercase ( Environment * _environment,
char * _source,
char * _size,
char * _result )

Definition at line 5414 of file 6309.c.

◆ cpu_xor_16bit()

void cpu_xor_16bit ( Environment * _environment,
char * _left,
char * _right,
char * _result )

Definition at line 4382 of file 6309.c.

◆ cpu_xor_16bit_const()

void cpu_xor_16bit_const ( Environment * _environment,
char * _left,
int _right,
char * _result )

Definition at line 4397 of file 6309.c.

◆ cpu_xor_32bit()

void cpu_xor_32bit ( Environment * _environment,
char * _left,
char * _right,
char * _result )

Definition at line 4413 of file 6309.c.

◆ cpu_xor_32bit_const()

void cpu_xor_32bit_const ( Environment * _environment,
char * _left,
int _right,
char * _result )

Definition at line 4432 of file 6309.c.

◆ cpu_xor_8bit()

void cpu_xor_8bit ( Environment * _environment,
char * _left,
char * _right,
char * _result )

Definition at line 4354 of file 6309.c.

◆ cpu_xor_8bit_const()

void cpu_xor_8bit_const ( Environment * _environment,
char * _left,
int _right,
char * _result )

Definition at line 4368 of file 6309.c.

◆ cpu_ztoa()

void cpu_ztoa ( Environment * _environment)

Definition at line 262 of file 6309.c.