99 cpu_label( _environment, protothreadLabel );
void cpu_protothread_get_state(Environment *_environment, char *_index, char *_state)
void cpu_addressof_16bit(Environment *_environment, char *_source, char *_destination)
void cpu_protothread_get_address(Environment *_environment, char *_index, char *_address)
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_or_define(Environment *_environment, char *_name, VariableType _type, int _value)
void variable_compare_and_branch_const(Environment *_environment, char *_source, int _destination, char *_name, int _positive)
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.
Variable * variable_store(Environment *_environment, char *_destination, unsigned int _value)
Store a direct value to a variable.
Variable * running(Environment *_environment, char *_thread_id, char *_procedure)
Emit code for RUN PARALLEL.
#define MAX_TEMPORARY_STORAGE
struct _Variable Variable
Structure of a single variable.
struct _Environment Environment
Structure of compilation environment.
#define PROTOTHREAD_STATUS_YIELDED
#define CRITICAL_MULTITASKING_FORBIDDEN()
#define PROTOTHREAD_STATUS_RUNNING