void cpu_move_8bit(Environment *_environment, char *_source, char *_destination)
CPU 6309: emit code to move 8 bit
Variable * variable_retrieve_or_define(Environment *_environment, char *_name, VariableType _type, int _value)
Variable * variable_less_than(Environment *_environment, char *_source, char *_destination, int _equal)
Compare two variable and return the result of comparation.
Variable * variable_and(Environment *_environment, char *_left, char *_right)
Calculate logical "and" and return it as the result.
Variable * variable_greater_than(Environment *_environment, char *_source, char *_destination, int _equal)
Compare two variable and return the result of comparation.
Variable * variable_mul(Environment *_environment, char *_source, char *_destination)
Make a multiplication between two variable and return the product of them.
void variable_add_inplace_vars(Environment *_environment, char *_source, char *_destination)
Add two variable and return the sum of them on the first.
Variable * variable_cast(Environment *_environment, char *_source, VariableType _type)
Cast a variable from a type to another.
Variable * variable_temporary(Environment *_environment, VariableType _type, char *_meaning)
Define a temporary variable.
Variable * tile_get_first(Environment *_environment, char *_tile)
Emit code for TILE FIRST(...).
Variable * tile_get_height(Environment *_environment, char *_tile)
Emit code for TILE HEIGHT(...).
Variable * tile_get_width(Environment *_environment, char *_tile)
Emit code for TILE WIDTH(...).
Variable * tile_belong(Environment *_environment, char *_tile, char *_tiles)
Emit code for TILE ... BELONG TO ....
struct _Variable Variable
Structure of a single variable.
struct _Environment Environment
Structure of compilation environment.