Browse Source

+ support jmp indirect in the 6502 assembler reader

Nikolay Nikolov 1 month ago
parent
commit
dcf2e965ea
1 changed files with 6 additions and 1 deletions
  1. 6 1
      compiler/mos6502/ramos6502asm.pas

+ 6 - 1
compiler/mos6502/ramos6502asm.pas

@@ -1738,7 +1738,7 @@ Unit ramos6502asm;
             //AS_TYPE,
             //AS_NOT,
             AS_ID,
-            AS_LPAREN,
+            //AS_LPAREN,
             AS_STRING,
             AS_PLUS,
             AS_MINUS,
@@ -1773,6 +1773,11 @@ Unit ramos6502asm;
                 //end;
               end;
 
+            AS_LPAREN:
+              begin
+                BuildReference(oper);
+              end;
+
             AS_HASH:
               begin
                 if iscalljmp then