Bug fix: 0x2a is not ROR but ROL
This commit is contained in:
parent
7dcce64f10
commit
4994158c0c
4
6502.S
4
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
|
||||
|
||||
|
|
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in New Issue