From 4b60b47a60f2fde482d00bdec094723c10684441 Mon Sep 17 00:00:00 2001 From: Folkert van Heusden Date: Sun, 6 Apr 2025 17:53:24 +0200 Subject: [PATCH] BIC/BIS: also (R1) target --- PDP11/test.c | 58 +++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 48 insertions(+), 10 deletions(-) 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