diff --git a/PDP11/test.c b/PDP11/test.c index 60b09d19..e691ce2d 100644 --- a/PDP11/test.c +++ b/PDP11/test.c @@ -195,6 +195,39 @@ void produce_set_register(const uint16_t instr, const uint16_t psw, int *const i } } +void produce_set_register_indirect(const uint16_t instr, const uint16_t psw, int *const id, json_t *const out) +{ + if (((instr >> 3) & 7) != 1 || (instr & 7) != 1) { + printf("Not an R1 target!"); + return; + } + + for(int v1=0; v1