Forcing regular 6502 instructions.

This commit is contained in:
Russell-S-Harper 2018-08-27 20:27:00 -04:00
parent 8f0a6ed542
commit 3af579e5bb
2 changed files with 4 additions and 4 deletions

View File

@ -4,11 +4,11 @@ system.obj: common.obj page6.obj
cat common.obj page6.obj > system.obj cat common.obj page6.obj > system.obj
common.obj: rom.h common.h common.asm common.obj: rom.h common.h common.asm
xa -M common.asm -l common.lbl -o common.obj xa -C -M common.asm -l common.lbl -o common.obj
page6.obj: rom.h macros.h page6.src page6.obj: rom.h macros.h page6.src
cpp -P page6.src | $(XAPP) > page6.asm cpp -P page6.src | $(XAPP) > page6.asm
xa -M page6.asm -l page6.lbl -o page6.obj xa -C -M page6.asm -l page6.lbl -o page6.obj
clean: clean:
rm -f page6.asm common.obj page6.obj common.lbl page6.lbl system.obj rm -f page6.asm common.obj page6.obj common.lbl page6.lbl system.obj

View File

@ -5,10 +5,10 @@
HDR(DEMO) HDR(DEMO)
CMN CMN
SET(R0, 1048575) SET(R0, 1048575.999)
SET(R1, 3 * 5 * 5) SET(R1, 3 * 5 * 5)
MOD(R2, R0, R1) MOD(R2, R0, R1)
;SUB(R3, R0, R2) SUB(R3, R0, R2)
ESC ESC
BRK BRK