127 const int bufferSizeSegment = 32;
154 sprintf(alreadyLoadedLabel,
"%salready", label );
171 cpu_label( _environment, alreadyLoadedLabel );
183 cpu_label( _environment, printBufferLabel );
193 cpu_jump( _environment, printBufferLabel );
195 cpu_label( _environment, printBufferRestLabel );
void cpu_dsfree(Environment *_environment, char *_index)
void cpu_mem_move(Environment *_environment, char *_source, char *_destination, char *_size)
void cpu_store_16bit(Environment *_environment, char *_destination, int _value)
CPU 6309: emit code to store 16 bit
void cpu_dsalloc_size(Environment *_environment, int _size, char *_index)
void cpu_addressof_16bit(Environment *_environment, char *_source, char *_destination)
void cpu_math_add_16bit_const(Environment *_environment, char *_source, int _destination, char *_other)
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
void cpu_label(Environment *_environment, char *_label)
void cpu_dsalloc(Environment *_environment, char *_size, char *_index)
void cpu_jump(Environment *_environment, char *_label)
void cpu_mem_move_size(Environment *_environment, char *_source, char *_destination, int _size)
void cpu_dsdescriptor(Environment *_environment, char *_index, char *_address, char *_size)
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
Variable * variable_retrieve(Environment *_environment, char *_name)
Variable * variable_move(Environment *_environment, char *_source, char *_destination)
Store the value of a variable inside another variable by converting it.
Variable * variable_temporary(Environment *_environment, VariableType _type, char *_meaning)
Define a temporary variable.
Variable * variable_store(Environment *_environment, char *_destination, unsigned int _value)
Store a direct value to a variable.
Variable * variable_greater_than_const(Environment *_environment, char *_source, int _destination, int _equal)
void bank_read_semi_var(Environment *_environment, int _bank, int _address1, char *_address2, int _size)
Emit ASM code for instruction BANK READ ....
void bank_uncompress_semi_var(Environment *_environment, int _bank, int _address1, char *_address2)
Emit ASM code for instruction BANK UNCOMPRESS ....
void print_buffer(Environment *_environment, char *_value, int _new_line, int _printable)
Emit code for PRINT... instruction.
void text_text(Environment *_environment, char *_text, int _raw)
void text_newline(Environment *_environment)
#define MAX_TEMPORARY_STORAGE
#define CRITICAL_PRINT_BUFFER_ON_A_NOT_BUFFER(v)
struct _Variable Variable
Structure of a single variable.
struct _Environment Environment
Structure of compilation environment.
char DATATYPE_AS_STRING[][16]