#include "bcdefs.h"#include "global.h"#include "proto.h"Include dependency graph for load.c:

Go to the source code of this file.
Functions | |
| void | init_load () |
| void | addbyte (char byte) |
| void | def_label (long lab) |
| long | long_val (char **str) |
| void | load_code (char *code) |
Variables | |
| program_counter | load_adr |
| char | load_str |
| char | load_const |
|
|
Definition at line 52 of file load.c. References bc_malloc(), BC_MAX_SEGS, BC_SEG_LOG, BC_SEG_SIZE, bc_function::f_body, bc_function::f_code_size, func, functions, had_error, load_adr, NULL, offset, program_counter::pc_addr, program_counter::pc_func, seg, and yyerror(). Referenced by load_code(). |
|
|
Definition at line 83 of file load.c. References BC_LABEL_GROUP, BC_LABEL_LOG, bc_malloc(), bc_function::f_label, func, functions, bc_label_group::l_adrs, bc_label_group::l_next, load_adr, NULL, offset, program_counter::pc_addr, and program_counter::pc_func. Referenced by load_code(). |
|
|
Definition at line 41 of file load.c. References clear_func(), FALSE, load_adr, load_const, load_str, program_counter::pc_addr, and program_counter::pc_func. Referenced by init_gen(), load_code(), and main(). |
|
|
Definition at line 148 of file load.c. References addbyte(), clear_func(), def_label(), execute(), exit(), bc_function::f_defined, FALSE, fprintf(), func, functions, had_error, init_load(), int(), L, load_adr, load_const, load_str, long_val(), nextarg(), program_counter::pc_addr, program_counter::pc_func, printf, stderr, and TRUE. Referenced by generate(), and open_new_file(). |
|
|
Definition at line 125 of file load.c. References FALSE, isdigit, TRUE, and val. Referenced by load_code(). |
|
|
Definition at line 35 of file load.c. Referenced by addbyte(), def_label(), init_load(), and load_code(). |
|
|
Definition at line 37 of file load.c. Referenced by init_load(), and load_code(). |
|
|
Definition at line 36 of file load.c. Referenced by init_load(), and load_code(). |
1.4.6