49{
50
53 assert(pdp);
54
58 *ptr_pc = addr;
59
60
61
62
63 int i = 0;
64 while (i <= 10) {
65
67 i++;
68 }
69 return 0;
70}
struct pdp_11_t * pdp_new()
Создает новый экземпляр структуры PDP-11.
Definition pdp_11.c:26
word_t * do_command(struct pdp_11_t *, struct command_t **, const address_word_t)
Выполняет одну машинную команду по указанному адресу.
Definition pdp_11.c:190
void pdp_create(struct pdp_11_t *)
Инициализирует компоненты PDP-11 (память, устройства ввода-вывода, регистры, команды).
Definition pdp_11.c:37
word_t * PC
Definition pdp_11_p.h:16
struct command_t ** command
Definition pdp_11_p.h:8
unsigned short int word_t
Definition types.h:7
unsigned int address_word_t
Definition types.h:11