From: Lukas Krickl Date: Sun, 26 Nov 2023 06:37:10 +0000 (+0100) Subject: Fixed bit instructions X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=b44efbeb40ab659d23b1355c8ee15fa81b96be50;p=ulas%2F.git Fixed bit instructions --- diff --git a/src/ulas.c b/src/ulas.c index 76a40f4..5b70611 100644 --- a/src/ulas.c +++ b/src/ulas.c @@ -1485,7 +1485,7 @@ int ulas_asmregisr8(enum ulas_asmregs reg) { // prefixed , reg #define ULAS_INSTR_PREBITR8(name, base_op, bit, reg_right) \ { \ - (name), {(bit), (reg_right), 0}, { 0xCB, base_op, 0 } \ + (name), {(bit), ',', (reg_right), 0}, { 0xCB, base_op, 0 } \ } #define ULAS_INSTR_PREBITR8D(name, base_op, bit) \