|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#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) |
| void cpu_address_table_build | ( | Environment * | _environment, |
| char * | _table, | ||
| int * | _values, | ||
| char * | _address[], | ||
| int | _count ) |
| void cpu_address_table_call | ( | Environment * | _environment, |
| char * | _table, | ||
| char * | _value, | ||
| char * | _address ) |
| void cpu_address_table_lookup | ( | Environment * | _environment, |
| char * | _table, | ||
| int | _count ) |
| void cpu_addressof_16bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
| void cpu_and_16bit | ( | Environment * | _environment, |
| char * | _left, | ||
| char * | _right, | ||
| char * | _result ) |
| void cpu_and_32bit | ( | Environment * | _environment, |
| char * | _left, | ||
| char * | _right, | ||
| 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_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.
| _environment | Current calling environment |
| _label | Destination 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.
| _environment | Current calling environment |
| _label | Destination 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.
| _environment | Current calling environment |
| _label | Destination 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.
| _environment | Current calling environment |
| _label | Destination of the conditional jump. |
| 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_bits_to_string | ( | Environment * | _environment, |
| char * | _number, | ||
| char * | _string, | ||
| char * | _string_size, | ||
| int | _bits, | ||
| char * | _zero, | ||
| char * | _one ) |
| int cpu_blit_alloc_register | ( | Environment * | _environment | ) |
| void cpu_blit_finalize | ( | Environment * | _environment | ) |
| void cpu_blit_free_register | ( | Environment * | _environment, |
| int | _register ) |
| void cpu_blit_initialize | ( | Environment * | _environment | ) |
| char * cpu_blit_register_name | ( | Environment * | _environment, |
| int | _register ) |
| void cpu_bneq | ( | Environment * | _environment, |
| char * | _label ) |
CPU 6309: emit code to make long conditional jump
| _environment | Current calling environment |
| _label | Destination of the conditional jump. |
CPU 6309: emit code to make long conditional jump
| _environment | Current calling environment |
| _label | Destination of the 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_call | ( | Environment * | _environment, |
| char * | _label ) |
| void cpu_call_addr | ( | Environment * | _environment, |
| int | _address ) |
| void cpu_call_indirect | ( | Environment * | _environment, |
| char * | _value ) |
| void cpu_combine_nibbles | ( | Environment * | _environment, |
| char * | _low_nibble, | ||
| char * | _hi_nibble, | ||
| char * | _byte ) |
| void cpu_compare_16bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _other, | ||
| int | _positive ) |
CPU 6309: emit code to compare two 16 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _positive | Invert meaning of comparison |
CPU 6309: emit code to compare two 16 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _positive | Invert meaning of comparison |
CPU 6309: emit code to compare two 16 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| 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
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _positive | Invert meaning of comparison |
CPU 6309: emit code to compare two 16 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _positive | Invert meaning of comparison |
CPU 6309: emit code to compare two 16 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| void cpu_compare_32bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _other, | ||
| int | _positive ) |
CPU 6309: emit code to compare two 32 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _positive | Meaning of comparison |
CPU 6309: emit code to compare two 32 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _positive | Meaning of comparison |
| 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
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _positive | Meaning of comparison |
CPU 6309: emit code to compare two 32 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _positive | Meaning of comparison |
| void cpu_compare_8bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _other, | ||
| int | _positive ) |
CPU 6309: emit code to compare two 8 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _positive | Invert meaning of comparison |
CPU 6309: emit code to compare two 8 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _positive | Invert meaning of comparison |
CPU 6309: emit code to compare two 8 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _positive | Meaning of comparison |
| 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
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _positive | Invert meaning of comparison |
CPU 6309: emit code to compare two 8 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _positive | Invert meaning of comparison |
CPU 6309: emit code to compare two 8 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _positive | Meaning of comparison |
| 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 * | _label, | ||
| int | _positive ) |
CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare |
| _label | Where to jump |
| _positive | Invert meaning of comparison |
CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare |
| _label | Where to jump |
| _positive | Invert meaning of comparison |
| 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
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare |
| _label | Where to jump |
| _positive | Invert meaning of comparison |
CPU 6309: emit code to compare two 32 bit values and jump if they are equal/different
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare |
| _label | Where to jump |
| _positive | Invert meaning of comparison |
| 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 * | _label, | ||
| int | _positive ) |
CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare |
| _label | Where to jump |
| _positive | Invert meaning of comparison |
CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare |
| _label | Where to jump |
| _positive | Invert meaning of comparison |
| 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
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare |
| _label | Where to jump |
| _positive | Invert meaning of comparison |
CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare |
| _label | Where to jump |
| _positive | Invert meaning of comparison |
| 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_compare_nbit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _other, | ||
| int | _positive, | ||
| int | _bits ) |
| 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
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _positive | Meaning of comparison |
| void cpu_complement2_16bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
| void cpu_complement2_32bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
| void cpu_complement2_8bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
| void cpu_complement2_nbit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| int | _bits ) |
| void cpu_convert_string_into_16bit | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _len, | ||
| char * | _value ) |
| void cpu_convert_string_into_8bit | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _len, | ||
| char * | _value ) |
| void cpu_ctoa | ( | Environment * | _environment | ) |
| 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_decrypt | ( | Environment * | _environment, |
| char * | _data, | ||
| char * | _data_size, | ||
| char * | _key, | ||
| char * | _key_size, | ||
| char * | _output, | ||
| char * | _result ) |
| void cpu_di | ( | Environment * | _environment | ) |
| void cpu_dsalloc | ( | Environment * | _environment, |
| char * | _size, | ||
| char * | _index ) |
| void cpu_dsalloc_size | ( | Environment * | _environment, |
| int | _size, | ||
| char * | _index ) |
| void cpu_dsassign | ( | Environment * | _environment, |
| char * | _original, | ||
| char * | _copy ) |
| void cpu_dsassign_string | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _copy ) |
| void cpu_dsdefine | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _index ) |
| void cpu_dsdescriptor | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _address, | ||
| char * | _size ) |
| void cpu_dsfill | ( | Environment * | _environment, |
| char * | _string, | ||
| char * | _value ) |
| void cpu_dsfill_value | ( | Environment * | _environment, |
| char * | _string, | ||
| int | _value ) |
| void cpu_dsfree | ( | Environment * | _environment, |
| char * | _index ) |
| void cpu_dsgc | ( | Environment * | _environment | ) |
| void cpu_dsinit | ( | Environment * | _environment | ) |
| void cpu_dsresize | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _size ) |
| void cpu_dsresize_size | ( | Environment * | _environment, |
| char * | _index, | ||
| int | _size ) |
| void cpu_dstring_vars | ( | Environment * | _environment | ) |
| void cpu_dswrite | ( | Environment * | _environment, |
| char * | _index ) |
| void cpu_ei | ( | Environment * | _environment | ) |
| void cpu_encrypt | ( | Environment * | _environment, |
| char * | _data, | ||
| char * | _data_size, | ||
| char * | _key, | ||
| char * | _key_size, | ||
| char * | _output ) |
| void cpu_end | ( | Environment * | _environment | ) |
| 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
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare |
| _label | Where to jump |
| _positive | Invert meaning of comparison |
CPU 6309: emit code to compare two 8 bit values and jump if they are equal/different
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare |
| _label | Where to jump |
| _positive | Invert meaning of comparison |
| 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_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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number of bytes to fill |
| _<PATTERN | <PATTERN to use |
| 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.
| _environment | Current calling environment |
| _address | Starting address |
| _blocks | Number 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.
| _environment | Current calling environment |
| _address | Starting address |
| _blocks | Number 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.
| _environment | Current calling environment |
| _address | Starting address |
| _blocks | Number of 256 bytes blocks to fill |
| _<PATTERN | <PATTERN to use |
| 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number of bytes to fill |
| _<PATTERN | <PATTERN to use |
| 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number of bytes to fill |
| _<PATTERN | <PATTERN to use |
| 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number of bytes to fill |
| _<PATTERN | <PATTERN to use |
| void cpu_fill_indirect | ( | Environment * | _environment, |
| char * | _address, | ||
| char * | _size, | ||
| char * | _pattern, | ||
| int | _size_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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number of bytes to fill |
| _<PATTERN | <PATTERN to use |
| 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number 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.
| _environment | Current calling environment |
| _address | Starting address |
| _bytes | Number of bytes to fill |
| _<PATTERN | <PATTERN to use |
| void cpu_flip | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _size, | ||
| char * | _destination ) |
| void cpu_flip_8bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
| void cpu_float_fast_add | ( | 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_cos | ( | Environment * | _environment, |
| char * | _angle, | ||
| char * | _result ) |
| void cpu_float_fast_div | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| char * | _result ) |
| void cpu_float_fast_exp | ( | Environment * | _environment, |
| char * | _value, | ||
| char * | _result ) |
| 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_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_log | ( | Environment * | _environment, |
| char * | _value, | ||
| char * | _result ) |
| void cpu_float_fast_mul | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| char * | _result ) |
| void cpu_float_fast_sin | ( | Environment * | _environment, |
| char * | _angle, | ||
| char * | _result ) |
| void cpu_float_fast_sub | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| char * | _result ) |
| void cpu_float_fast_tan | ( | Environment * | _environment, |
| char * | _angle, | ||
| char * | _result ) |
| 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_to_string | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _string, | ||
| char * | _string_size ) |
| void cpu_float_single_add | ( | 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_cos | ( | Environment * | _environment, |
| char * | _angle, | ||
| char * | _result ) |
| void cpu_float_single_div | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| char * | _result ) |
| void cpu_float_single_exp | ( | Environment * | _environment, |
| char * | _value, | ||
| char * | _result ) |
| 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_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_log | ( | Environment * | _environment, |
| char * | _value, | ||
| char * | _result ) |
| void cpu_float_single_mul | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| char * | _result ) |
| void cpu_float_single_sin | ( | Environment * | _environment, |
| char * | _angle, | ||
| char * | _result ) |
| void cpu_float_single_sub | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _y, | ||
| char * | _result ) |
| void cpu_float_single_tan | ( | Environment * | _environment, |
| char * | _angle, | ||
| char * | _result ) |
| 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_to_string | ( | Environment * | _environment, |
| char * | _x, | ||
| char * | _string, | ||
| char * | _string_size ) |
| void cpu_get_asmio_indirect | ( | Environment * | _environment, |
| int | _asmio, | ||
| char * | _value ) |
| 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
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _equal | True if equal |
CPU 6309: emit code to compare two 8 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _equal | True if equal |
| void cpu_greater_than_16bit_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _destination, | ||
| char * | _name, | ||
| int | _equal, | ||
| int | _signed ) |
| 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
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _equal | True if equal |
CPU 6309: emit code to compare two 8 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _equal | True if equal |
| void cpu_greater_than_32bit_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _destination, | ||
| char * | _name, | ||
| int | _equal, | ||
| int | _signed ) |
| 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
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _equal | True if equal |
CPU 6309: emit code to compare two 8 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _equal | True if equal |
| void cpu_greater_than_8bit_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _destination, | ||
| char * | _name, | ||
| int | _equal, | ||
| int | _signed ) |
| 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_greater_than_nbit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _name, | ||
| int | _equal, | ||
| int | _bits ) |
| void cpu_greater_than_nbit_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _destination, | ||
| char * | _name, | ||
| int | _equal, | ||
| int | _bits ) |
| void cpu_halt | ( | Environment * | _environment | ) |
| void cpu_hex_to_bin | ( | Environment * | _environment, |
| char * | _value_address, | ||
| char * | _value_size, | ||
| char * | _variable_address, | ||
| char * | _variable_size, | ||
| char * | _result ) |
| 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_in | ( | Environment * | _environment, |
| char * | _port, | ||
| char * | _value ) |
| void cpu_in_direct | ( | Environment * | _environment, |
| char * | _port, | ||
| char * | _value ) |
| 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_init | ( | Environment * | _environment | ) |
| void cpu_jump | ( | Environment * | _environment, |
| char * | _label ) |
| void cpu_jump_indirect | ( | Environment * | _environment, |
| char * | _value ) |
| void cpu_label | ( | Environment * | _environment, |
| char * | _label ) |
| 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
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _equal | True if equal |
CPU 6309: emit code to compare two 8 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _equal | True if equal |
| void cpu_less_than_16bit_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _destination, | ||
| char * | _name, | ||
| int | _equal, | ||
| int | _signed ) |
| 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
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _equal | True if equal |
CPU 6309: emit code to compare two 32 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _equal | True if equal |
| void cpu_less_than_32bit_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _destination, | ||
| char * | _name, | ||
| int | _equal, | ||
| int | _signed ) |
| 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
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _equal | True if equal |
CPU 6309: emit code to compare two 8 bit values
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| _equal | True if equal |
| 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_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_less_than_nbit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _name, | ||
| int | _equal, | ||
| int | _bits ) |
| void cpu_less_than_nbit_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _destination, | ||
| char * | _name, | ||
| int | _equal, | ||
| int | _bits ) |
| 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_not_8bit | ( | Environment * | _environment, |
| char * | _value, | ||
| char * | _result ) |
| void cpu_logical_or_8bit | ( | Environment * | _environment, |
| char * | _left, | ||
| char * | _right, | ||
| char * | _result ) |
| void cpu_lowercase | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _size, | ||
| char * | _result ) |
| void cpu_math_add_16bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _other ) |
CPU 6309: emit code to add two 16 bit values
| _environment | Current calling environment |
| _source | First value to add |
| _destination | Second value to add and destination address for result (if _other is NULL) |
| _other | Destination address for result |
CPU 6309: emit code to add two 16 bit values
| _environment | Current calling environment |
| _source | First value to add |
| _destination | Second value to add and destination address for result (if _other is NULL) |
| _other | Destination address for result |
CPU 6309: emit code to add two 16 bit values
| _environment | Current calling environment |
| _source | First value to add (memory) |
| _destination | Second value to add and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| void cpu_math_add_16bit_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _destination, | ||
| char * | _other ) |
| 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
| _environment | Current calling environment |
| _source | First value to add |
| _destination | Second value to add and destination address for result (if _other is NULL) |
| _other | Destination address for result |
CPU 6309: emit code to add two 16 bit values
| _environment | Current calling environment |
| _source | First value to add |
| _destination | Second value to add and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| 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 * | _other ) |
CPU 6309: emit code to add two 32 bit values
| _environment | Current calling environment |
| _source | First value to add |
| _destination | Second value to add and destination address for result (if _other is NULL) |
| _other | Destination address for result |
CPU 6309: emit code to add two 32 bit values
| _environment | Current calling environment |
| _source | First value to add |
| _destination | Second value to add and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| 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 * | _other ) |
CPU 6309: emit code to add two 8 bit values
| _environment | Current calling environment |
| _source | First value to add |
| _destination | Second value to add and destination address for result (if _other is NULL) |
| _other | Destination address for result |
CPU 6309: emit code to add two 8 bit values
| _environment | Current calling environment |
| _source | First value to add |
| _destination | Second value to add and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| void cpu_math_add_8bit_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _destination, | ||
| char * | _other ) |
| 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_and_const_16bit | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _mask ) |
CPU 6309: emit code to mask with "and" a value of 16 bit
| _environment | Current calling environment |
| _source | Value to mask (and destination of mask operation) |
| _mask | Mask to use |
CPU 6309: emit code to mask with "and" a value of 16 bit
| _environment | Current calling environment |
| _source | Value to mask (and destination of mask operation) |
| _mask | Mask to use |
| 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
| _environment | Current calling environment |
| _source | Value to mask (and destination of mask operation) |
| _mask | Mask to use |
CPU 6309: emit code to mask with "and" a value of 32 bit
| _environment | Current calling environment |
| _source | Value to mask (and destination of mask operation) |
| _mask | Mask to use |
| 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
| _environment | Current calling environment |
| _source | Value to mask (and destination of mask operation) |
| _mask | Mask to use |
CPU 6309: emit code to mask with "and" a value of 8 bit
| _environment | Current calling environment |
| _source | Value to mask (and destination of mask operation) |
| _mask | Mask to use |
| 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
| _environment | Current calling environment |
| _source | Value to complement |
| _value | Valure to use as base for complement |
CPU 6309: emit code to calculate a 16 bit complement of a number
| _environment | Current calling environment |
| _source | Value to complement |
| _value | Valure to use as base for complement |
| 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
| _environment | Current calling environment |
| _source | Value to complement |
| _value | Valure to use as base for complement |
CPU 6309: emit code to calculate a 32 bit complement of a number
| _environment | Current calling environment |
| _source | Value to complement |
| _value | Valure to use as base for complement |
| 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
| _environment | Current calling environment |
| _source | Value to complement |
| _value | Valure to use as base for complement |
CPU 6309: emit code to calculate an 8 bit complement of a number
| _environment | Current calling environment |
| _source | Value to complement |
| _value | Valure to use as base for complement |
| 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
| _environment | Current calling environment |
| _source | Value to halves and destination for result |
| _steps | Times to halves |
CPU 6309: emit code to halves for several times a 16 bit value
| _environment | Current calling environment |
| _source | Value to halves and destination for result |
| _steps | Times to halves |
| 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
| _environment | Current calling environment |
| _source | Value to halves and destination for result |
| _steps | Times to halves |
CPU 6309: emit code to halves for several times a 32 bit value
| _environment | Current calling environment |
| _source | Value to halves and destination for result |
| _steps | Times to halves |
| 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
| _environment | Current calling environment |
| _source | Value to halves and destination for result |
| _steps | Times to halves |
CPU 6309: emit code to halves for several times a 8 bit value
| _environment | Current calling environment |
| _source | Value to halves and destination for result |
| _steps | Times to halves |
| void cpu_math_div2_const_nbit | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _value, | ||
| int | _bits, | ||
| char * | _remainder ) |
| 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_32bit_to_16bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _other, | ||
| char * | _other_remainder, | ||
| int | _signed ) |
| 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_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_div_nbit_to_nbit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _other, | ||
| char * | _other_remainder, | ||
| int | _bits ) |
| void cpu_math_div_nbit_to_nbit_const | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _destination, | ||
| char * | _other, | ||
| char * | _other_remainder, | ||
| int | _bits ) |
| void cpu_math_double_16bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _other, | ||
| int | _signed ) |
CPU 6309: emit code to double a 16 bit value
| _environment | Current calling environment |
| _source | Value to double and destination for result (if _other is NULL) |
| _other | Destination address for result |
CPU 6309: emit code to double a 16 bit value
| _environment | Current calling environment |
| _source | Value to double and destination for result (if _other is NULL) |
| _other | Destination address for result |
| void cpu_math_double_32bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _other, | ||
| int | _signed ) |
CPU 6309: emit code to double a 32 bit value
| _environment | Current calling environment |
| _source | Value to double and destination for result (if _other is NULL) |
| _other | Destination address for result |
CPU 6309: emit code to double a 32 bit value
| _environment | Current calling environment |
| _source | Value to double and destination for result (if _other is NULL) |
| _other | Destination address for result |
| void cpu_math_double_8bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _other, | ||
| int | _signed ) |
CPU 6309: emit code to double a 8 bit value
| _environment | Current calling environment |
| _source | Value to double and destination for result (if _other is NULL) |
| _other | Destination address for result |
CPU 6309: emit code to double a 8 bit value
| _environment | Current calling environment |
| _source | Value to double and destination for result (if _other is NULL) |
| _other | Destination address for result |
| 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
| _environment | Current calling environment |
| _source | Value to halves and destination for result |
| _steps | Times to halves |
CPU 6309: emit code to halves for several times a 8 bit value
| _environment | Current calling environment |
| _source | Value to halves and destination for result |
| _steps | Times to halves |
| 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
| _environment | Current calling environment |
| _source | Value to double and destination for result |
| _steps | Times to double |
CPU 6309: emit code to double for several times a 32 bit value
| _environment | Current calling environment |
| _source | Value to double and destination for result |
| _steps | Times to double |
| 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
| _environment | Current calling environment |
| _source | Value to double and destination for result |
| _steps | Times to double |
CPU 6309: emit code to double for several times a 8 bit value
| _environment | Current calling environment |
| _source | Value to double and destination for result |
| _steps | Times to double |
| void cpu_math_mul2_const_nbit | ( | Environment * | _environment, |
| char * | _source, | ||
| int | _value, | ||
| int | _bits ) |
| 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
| _environment | Current calling environment |
| _source | First value to multipy (16 bit) |
| _destination | Second value to multipy (16 bit) |
| _other | Destination address for result (32 bit) |
CPU 6309: emit code to multiply two 16 bit values in a 32 bit register
| _environment | Current calling environment |
| _source | First value to multipy (16 bit) |
| _destination | Second value to multipy (16 bit) |
| _other | Destination address for result (32 bit) |
| 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
| _environment | Current calling environment |
| _source | First value to multipy (8 bit) |
| _destination | Second value to multipy (8 bit) |
| _other | Destination address for result (16 bit) |
CPU 6309: emit code to multiply two 8bit values in a 16 bit register
| _environment | Current calling environment |
| _source | First value to multipy (8 bit) |
| _destination | Second value to multipy (8 bit) |
| _other | Destination address for result (16 bit) |
| void cpu_math_mul_nbit_to_nbit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _name, | ||
| int | _bits ) |
| void cpu_math_sub_16bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _other ) |
CPU 6309: emit code to subtract two 16 bit values
| _environment | Current calling environment |
| _source | First value to subtract |
| _destination | Second value to subtract and destination address for result (if _other is NULL) |
| _other | Destination address for result |
CPU 6309: emit code to subtract two 16 bit values
| _environment | Current calling environment |
| _source | First value to subtract |
| _destination | Second value to subtract and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| void cpu_math_sub_16bit_with_8bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _name ) |
| void cpu_math_sub_32bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _other ) |
CPU 6309: emit code to subtract two 32 bit values
| _environment | Current calling environment |
| _source | First value to subtract |
| _destination | Second value to subtract and destination address for result (if _other is NULL) |
| _other | Destination address for result |
CPU 6309: emit code to subtract two 32 bit values
| _environment | Current calling environment |
| _source | First value to subtract |
| _destination | Second value to subtract and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| void cpu_math_sub_8bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _other ) |
CPU 6309: emit code to subtract two 8 bit values
| _environment | Current calling environment |
| _source | First value to subtract |
| _destination | Second value to subtract and destination address for result (if _other is NULL) |
| _other | Destination address for result |
CPU 6309: emit code to subtract two 8 bit values
| _environment | Current calling environment |
| _source | First value to subtract |
| _destination | Second value to subtract and destination address for result (if _other is NULL) |
| _other | Destination address for result |
| void cpu_math_sub_nbit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| char * | _name, | ||
| int | _bits ) |
| 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_direct_indirect_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_indirect_direct_size | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| int | _size ) |
| void cpu_mem_move_size | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination, | ||
| int | _size ) |
| void cpu_move_16bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
CPU 6309: emit code to move 16 bit
| _environment | Current calling environment |
| _source | Source of movement |
| _destination | Destination of movement |
CPU 6309: emit code to move 16 bit
| _environment | Current calling environment |
| _source | Source of movement |
| _destination | Destination of movement |
| 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_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_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_32bit_signed | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
| void cpu_move_16bit_unsigned_32bit_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_32bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
CPU 6309: emit code to move 32 bit
| _environment | Current calling environment |
| _source | Source of movement |
| _destination | Destination of movement |
CPU 6309: emit code to move 32 bit
| _environment | Current calling environment |
| _source | Source of movement |
| _destination | Destination of movement |
| 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_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_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_16bit_signed | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
| void cpu_move_32bit_unsigned_16bit_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_8bit | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _destination ) |
CPU 6309: emit code to move 8 bit
| _environment | Current calling environment |
| _source | Source of movement |
| _destination | Destination of movement |
CPU 6309: emit code to move 8 bit
| _environment | Current calling environment |
| _source | Source of movement |
| _destination | Destination of movement |
| 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_16bit | ( | Environment * | _environment, |
| char * | _value, | ||
| char * | _offset, | ||
| char * | _source ) |
| void cpu_move_8bit_indirect2_8bit | ( | Environment * | _environment, |
| char * | _value, | ||
| char * | _offset, | ||
| char * | _source ) |
| void cpu_move_8bit_indirect_with_offset | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _value, | ||
| int | _offset ) |
| void cpu_move_8bit_indirect_with_offset2 | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _value, | ||
| char * | _offset ) |
| 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_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_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_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_8bit_with_offset2 | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _value, | ||
| char * | _offset ) |
| void cpu_move_nbit | ( | Environment * | _environment, |
| int | _n, | ||
| char * | _source, | ||
| char * | _destination ) |
CPU cpu6309: emit code to store n bit
| _environment | Current calling environment |
| _destination | Destination of store |
| _n | bits to store (>32) |
| _value[] | Value to store (segmented in 32 bit each) |
CPU cpu6309: emit code to store n bit
| _environment | Current calling environment |
| _destination | Destination of store |
| _n | bits to store (>32) |
| _value[] | Value to store (segmented in 32 bit each) |
| 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_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_nop | ( | Environment * | _environment | ) |
| void cpu_not_16bit | ( | Environment * | _environment, |
| char * | _value, | ||
| char * | _result ) |
| void cpu_not_32bit | ( | Environment * | _environment, |
| char * | _value, | ||
| char * | _result ) |
| void cpu_not_8bit | ( | Environment * | _environment, |
| char * | _value, | ||
| char * | _result ) |
| void cpu_number_to_string | ( | Environment * | _environment, |
| char * | _number, | ||
| char * | _string, | ||
| char * | _string_size, | ||
| int | _bits, | ||
| int | _Signed ) |
| void cpu_or_16bit | ( | Environment * | _environment, |
| char * | _left, | ||
| char * | _right, | ||
| char * | _result ) |
| void cpu_or_32bit | ( | Environment * | _environment, |
| char * | _left, | ||
| char * | _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_out | ( | Environment * | _environment, |
| char * | _port, | ||
| char * | _value ) |
| void cpu_out_direct | ( | Environment * | _environment, |
| char * | _port, | ||
| char * | _value ) |
| void cpu_peek | ( | Environment * | _environment, |
| char * | _address, | ||
| char * | _target ) |
| void cpu_peekd | ( | Environment * | _environment, |
| char * | _address, | ||
| char * | _target ) |
| void cpu_peekw | ( | 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_poked | ( | Environment * | _environment, |
| char * | _address, | ||
| char * | _value ) |
| void cpu_poked_const | ( | Environment * | _environment, |
| char * | _address, | ||
| int | _value ) |
| void cpu_pokew | ( | Environment * | _environment, |
| char * | _address, | ||
| char * | _value ) |
| void cpu_pokew_const | ( | Environment * | _environment, |
| char * | _address, | ||
| int | _value ) |
| 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
| _environment | Current calling environment |
| _port | Port to connect |
| _value | Value to send |
Z80: emit code to send one byte throught a I/O port
| _environment | Current calling environment |
| _port | Port to connect |
| _value | Value to send |
| 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
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare |
| _label | Where to jump |
| _positive | Invert meaning of comparison |
Z80: emit code to compare two 8 bit values and jump if they are equal/different
| _environment | Current calling environment |
| _source | First value to compare |
| _destination | Second value to compare |
| _label | Where to jump |
| _positive | Invert meaning of comparison |
| void cpu_protothread_current | ( | Environment * | _environment, |
| char * | _current ) |
| void cpu_protothread_get_address | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _address ) |
| void cpu_protothread_get_state | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _state ) |
| void cpu_protothread_loop | ( | Environment * | _environment | ) |
| void cpu_protothread_register | ( | Environment * | _environment, |
| char * | _label, | ||
| char * | _index ) |
| void cpu_protothread_register_at | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _label ) |
| void cpu_protothread_restore | ( | Environment * | _environment, |
| char * | _index, | ||
| char * | _step ) |
| void cpu_protothread_save | ( | Environment * | _environment, |
| char * | _index, | ||
| int | _step ) |
| void cpu_protothread_set_state | ( | Environment * | _environment, |
| char * | _index, | ||
| int | _state ) |
| void cpu_protothread_unregister | ( | Environment * | _environment, |
| char * | _index ) |
| void cpu_protothread_vars | ( | Environment * | _environment | ) |
| 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 ) |
| int cpu_register_decode | ( | Environment * | _environment, |
| char * | _register ) |
| void cpu_return | ( | Environment * | _environment | ) |
| void cpu_set_asmio | ( | Environment * | _environment, |
| int | _asmio, | ||
| int | _value ) |
| void cpu_set_asmio_indirect | ( | Environment * | _environment, |
| int | _asmio, | ||
| char * | _value ) |
| void cpu_set_callback | ( | Environment * | _environment, |
| char * | _callback, | ||
| char * | _label ) |
| void cpu_sqroot | ( | Environment * | _environment, |
| char * | _number, | ||
| char * | _result ) |
| void cpu_store_16bit | ( | Environment * | _environment, |
| char * | _destination, | ||
| int | _value ) |
CPU 6309: emit code to store 16 bit
| _environment | Current calling environment |
| _destination | Destination of store |
| _value | Value to store |
CPU 6309: emit code to store 16 bit
| _environment | Current calling environment |
| _destination | Destination of store |
| _value | Value to store |
| void cpu_store_32bit | ( | Environment * | _environment, |
| char * | _destination, | ||
| int | _value ) |
CPU 6309: emit code to store 32 bit
| _environment | Current calling environment |
| _destination | Destination of store |
| _value | Value to store |
CPU 6309: emit code to store 32 bit
| _environment | Current calling environment |
| _destination | Destination of store |
| _value | Value to store |
| void cpu_store_8bit | ( | Environment * | _environment, |
| char * | _destination, | ||
| int | _value ) |
CPU 6309: emit code to store 8 bit
| _environment | Current calling environment |
| _destination | Destination of store |
| _value | Value to store |
CPU 6309: emit code to store 8 bit
| _environment | Current calling environment |
| _destination | Destination of store |
| _value | Value to store |
| 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_store_char | ( | Environment * | _environment, |
| char * | _destination, | ||
| int | _value ) |
CPU 6309: emit code to store 8 bit
| _environment | Current calling environment |
| _destination | Destination of store |
| _value | Value to store |
CPU 6309: emit code to store 8 bit
| _environment | Current calling environment |
| _destination | Destination of store |
| _value | Value to store |
| void cpu_store_nbit | ( | Environment * | _environment, |
| char * | _destination, | ||
| int | _n, | ||
| int | _value[] ) |
CPU 6309: emit code to store n bit
| _environment | Current calling environment |
| _destination | Destination of store |
| _n | bits to store (>32) |
| _value[] | Value to store (segmented in 32 bit each) |
CPU 6309: emit code to store n bit
| _environment | Current calling environment |
| _destination | Destination of store |
| _n | bits to store (>32) |
| _value[] | Value to store (segmented in 32 bit each) |
| void cpu_string_sub | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _source_size, | ||
| char * | _pattern, | ||
| char * | _pattern_size, | ||
| char * | _destination, | ||
| char * | _destination_size ) |
| void cpu_swap_16bit | ( | Environment * | _environment, |
| char * | _left, | ||
| char * | _right ) |
| void cpu_swap_32bit | ( | Environment * | _environment, |
| char * | _left, | ||
| char * | _right ) |
| void cpu_swap_8bit | ( | Environment * | _environment, |
| char * | _left, | ||
| char * | _right ) |
| void cpu_uppercase | ( | Environment * | _environment, |
| char * | _source, | ||
| char * | _size, | ||
| 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_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_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_ztoa | ( | Environment * | _environment | ) |