2
0
Эх сурвалжийг харах

* set the condition of Bxx instructions in the 6502 inline asm reader

Nikolay Nikolov 1 сар өмнө
parent
commit
3ab29c1366

+ 2 - 0
compiler/mos6502/ramos6502asm.pas

@@ -1957,6 +1957,8 @@ Unit ramos6502asm;
         operandnum: Integer;
       begin
         instr.opcode:=actopcode;
+        if actopcode=A_Bxx then
+          instr.condition:=actasmcond;
         operandnum:=1;
         Consume(AS_OPCODE);
         { Zero operand opcode ?  }