Go to the source code of this file.
|
| void | command_do_halt (struct pdp_11_t *, address_word_t, word_t) |
| |
| void | command_do_add (struct pdp_11_t *, address_word_t, word_t) |
| |
| void | command_do_mov (struct pdp_11_t *, address_word_t, word_t) |
| |
| void | command_do_inc (struct pdp_11_t *, address_word_t, word_t) |
| |
| void | command_do_unknown (struct pdp_11_t *, address_word_t, word_t) |
| |
◆ command_do_add()
92{
94 if (ptr_pdp)
95 printf("\b");
97}
void print_command(address_word_t addr, word_t word_command, byte_t *name_command)
Definition command.c:51
unsigned char byte_t
Definition types.h:6
◆ command_do_halt()
77{
80 *ptr_pc += 2;
84
86 free(pdp);
87 exit(0);
88}
void command_reg_dump(struct pdp_11_t *pdp)
Definition command.c:57
#define PRINT_RESULT(fmt,...)
Definition logger.h:34
void pdp_destroy(struct pdp_11_t *)
Освобождает ресурсы, связанные с экземпляром PDP-11.
Definition pdp_11.c:60
word_t * PC
Definition pdp_11_p.h:16
unsigned short int word_t
Definition types.h:7
◆ command_do_inc()
110{
112 if (ptr_pdp)
113 printf("\b");
115}
◆ command_do_mov()
101{
103 if (ptr_pdp)
104 printf("\b");
106}
◆ command_do_unknown()
121{
123 if (ptr_pdp)
124 printf("\b");
126}
◆ commands_list