浏览代码

+ support jmp indirect in the 6502 assembler reader

Nikolay Nikolov 1 月之前
父节点
当前提交
dcf2e965ea
共有 1 个文件被更改,包括 6 次插入1 次删除
  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