49 if ( _imported_too ) {
53 switch( variable->
type ) {
74 if ( variable->
value != 0 ) {
79 variable = variable->
next;
82 cpu_label( _environment,
"VARINITCLEAR" );
86 if ( _imported_too ) {
90 switch( variable->
type ) {
110 if ( variable->
value != 0 ) {
115 variable = variable->
next;
126 int numericLabels = 0;
135 if ( numericLabels ) {
137 int * values =
malloc( numericLabels *
sizeof(
int ) );
138 char ** address =
malloc( numericLabels *
sizeof(
char * ) );
141 first = _environment->
labels;
144 values[i] = first->
number;
146 sprintf(lineNumber,
"_linenumber%d", first->
number );
147 address[i] = strdup( lineNumber );
void cpu_address_table_build(Environment *_environment, char *_table, int *_values, char *_address[], int _count)
void cpu_label(Environment *_environment, char *_label)
void cpu_return(Environment *_environment)
void cpu_address_table_lookup(Environment *_environment, char *_table, int _count)
Variable * variable_store(Environment *_environment, char *_destination, unsigned int _value)
Store a direct value to a variable.
void generate_cgoto_address_table(Environment *_environment)
void variable_on_memory_init(Environment *_environment, int _imported_too)
#define MAX_TEMPORARY_STORAGE
struct _Variable Variable
Structure of a single variable.
struct _Environment Environment
Structure of compilation environment.
struct _Label Label
Structure of a single label.