EMULATOR_PDP_11
STEPIC Учебный проект на 'С', эмулятор PDP_11 в стиле ООП
Loading...
Searching...
No Matches
test_io.h File Reference
Include dependency graph for test_io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int test_io (struct pdp_11_t *, int, char **)
 

Function Documentation

◆ test_io()

int test_io ( struct pdp_11_t pdp,
int  argc,
char **  argv 
)
14{
15 assert(pdp);
16 byte_t *filename = pdp_parse_filename(argc, argv);
17 pdp_load_data(pdp, (byte_t *) filename);
18 pdp_mem_dump(pdp, 0x40, 0x20);
19 pdp_mem_dump(pdp, 0x200, 0x26);
20 return 0;
21}
void pdp_mem_dump(struct pdp_11_t *pdp, address_word_t addr, word_t size)
Выводит дамп памяти в форматированном виде.
Definition pdp_11.c:144
byte_t * pdp_parse_filename(int argc, char **argv)
Разбирает аргументы командной строки для поиска имени файла.
Definition pdp_11.c:156
void pdp_load_data(struct pdp_11_t *pdp, byte_t *filename)
Загружает данные в PDP-11 из файла или терминала.
Definition pdp_11.c:130
unsigned char byte_t
Definition types.h:6
Here is the call graph for this function:
Here is the caller graph for this function: