60 cls( _environment, NULL );
104 cpu_jump( _environment,
"SHELLPROMPT" );
108 home( _environment );
110 cls( _environment, NULL );
void cpu_dsfree(Environment *_environment, char *_index)
void cpu_label(Environment *_environment, char *_label)
void cpu_jump(Environment *_environment, char *_label)
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_string_lower(Environment *_environment, char *_string)
Emit code for = UPPER( ... ).
Variable * variable_define(Environment *_environment, char *_name, VariableType _type, int _value)
Define a variable for the program.
Variable * variable_store_string(Environment *_environment, char *_destination, char *_value)
Store a string to a variable.
Variable * variable_temporary(Environment *_environment, VariableType _type, char *_meaning)
Define a temporary variable.
Variable * variable_compare(Environment *_environment, char *_source, char *_destination)
Compare two variable and return the result of comparation.
void shell_injection(Environment *_environment)
void cls(Environment *_environment, char *_paper)
Emit code for CLS.
void begin_do_loop(Environment *_environment)
Emit ASM code for DO ....
void end_do_loop(Environment *_environment)
Emit ASM code for ... LOOP.
void home(Environment *_environment)
Emit code for HOME.
void print_newline(Environment *_environment)
Emit code for print a single newline.
void print(Environment *_environment, char *_value, int _new_line, int _raw)
Emit code for PRINT... instruction.
void print_buffer(Environment *_environment, char *_value, int _new_line, int _printable)
Emit code for PRINT... instruction.
#define MAX_TEMPORARY_STORAGE
struct _Variable Variable
Structure of a single variable.
struct _Environment Environment
Structure of compilation environment.