diff --git a/6502.S b/6502.S index d974f36..bedb144 100644 --- a/6502.S +++ b/6502.S @@ -965,9 +965,9 @@ op29: // AND - Immediate _lop ands _decode -op2a: // ROR - Accumulator +op2a: // ROL - Accumulator _fromReg RA - _ror + _rol _toReg RA _decode diff --git a/Makefile b/Makefile index 676ccdc..de5df64 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ test: 6502.S test.c # Test binary that runs on qemu user mode emulation for functional tests ftest: 6502.S ftest.c $(CC) -mthumb -static $(FRAMEPTR) ftest.c 6502.S -o ftest && \ - qemu-arm ftest + qemu-arm ftest 2> flog # Assume a CQ Mary comaptible board. run: $(APP).bin