Comparing version 0.1.18 to 0.1.19
@@ -29,5 +29,5 @@ "use strict"; | ||
if (exports.target.cpu6502) | ||
return "JMP " + dest; | ||
return "JMP " + dest; // TODO jump relative for 6502 | ||
else | ||
return "JP " + dest; | ||
return "JR " + dest; | ||
} | ||
@@ -34,0 +34,0 @@ exports.Jump = Jump; |
@@ -25,4 +25,4 @@ export const target = { | ||
{ | ||
if(target.cpu6502) return `JMP ${dest}`; | ||
else return `JP ${dest}`; | ||
if(target.cpu6502) return `JMP ${dest}`; // TODO jump relative for 6502 | ||
else return `JR ${dest}`; | ||
} | ||
@@ -29,0 +29,0 @@ |
{ | ||
"name": "asmproc", | ||
"version": "0.1.18", | ||
"version": "0.1.19", | ||
"description": "", | ||
@@ -11,3 +11,3 @@ "main": "asmproc.js", | ||
"build": "tsc", | ||
"test": "node asmproc -i test/repeat.lm -o test/repeat.out", | ||
"test": "node asmproc -i test/repeat.lm -o test/repeat.out -t z80asm", | ||
"ncc": "nearleyc const.ne -o const.js", | ||
@@ -14,0 +14,0 @@ "nce": "nearleyc expressions.ne -o expressions.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
594746
16472