153 cpu_jump( _environment, doneLabel );
161 print( _environment, string->name, 0, _environment->
printRaw );
188 cpu_call( _environment,
"lib_center");
void cpu_bveq(Environment *_environment, char *_value, char *_label)
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
void cpu_label(Environment *_environment, char *_label)
void cpu_call(Environment *_environment, char *_label)
void cpu_store_8bit(Environment *_environment, char *_destination, int _value)
CPU 6309: emit code to store 8 bit
void cpu_jump(Environment *_environment, char *_label)
void cpu_bvneq(Environment *_environment, char *_value, char *_label)
void cpu_return(Environment *_environment)
Variable * variable_retrieve(Environment *_environment, char *_name)
Variable * variable_sr_const(Environment *_environment, char *_destination, int _bits)
Variable * variable_move(Environment *_environment, char *_source, char *_destination)
Store the value of a variable inside another variable by converting it.
Variable * variable_define(Environment *_environment, char *_name, VariableType _type, int _value)
Define a variable for the program.
Variable * variable_sub(Environment *_environment, char *_source, char *_dest)
Make a differenze between two variable and return the difference of them.
Variable * variable_string_len(Environment *_environment, char *_string)
Emit code for = LEN( ... ).
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.
void center(Environment *_environment, char *_string, int _newline, char *_width)
Emit code for CENTRE ....
void locate(Environment *_environment, char *_x, char *_y)
Emit code for LOCATE ...,....
void print(Environment *_environment, char *_value, int _new_line, int _raw)
Emit code for PRINT... instruction.
void text_newline(Environment *_environment)
#define MAX_TEMPORARY_STORAGE
struct _Variable Variable
Structure of a single variable.
struct _Environment Environment
Structure of compilation environment.