diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2021-01-30 19:27:18 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2021-01-30 19:27:18 +0100 |
commit | b239edfbe11fda4c5a3ca388dd5eeb350b7b0258 (patch) | |
tree | 7c66a5e9d7e82d17f25443cc690f6ec1041c3216 /doc/MINIMAL.6502 | |
parent | 9490b470f3c0ac2357b60a56a893ab86556af634 (diff) | |
download | 6502-b239edfbe11fda4c5a3ca388dd5eeb350b7b0258.tar.gz 6502-b239edfbe11fda4c5a3ca388dd5eeb350b7b0258.tar.bz2 |
improved debug mode (d) for toggling
Diffstat (limited to 'doc/MINIMAL.6502')
-rw-r--r-- | doc/MINIMAL.6502 | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/doc/MINIMAL.6502 b/doc/MINIMAL.6502 new file mode 100644 index 0000000..ae2044d --- /dev/null +++ b/doc/MINIMAL.6502 @@ -0,0 +1,49 @@ +Immediate ADI +Absolute ADA +Relative ADR + +little endian + +lda +sta +clr +neg +inc +dec +cpi +adc +sbc +jmp +jsr + +nop +clc +sec +not +lsl +rol +lsr +ror +asr +rts +phs +pls + + +rel +word at abs adr +SP+rel + +bran + +no interrups, but win/out + +0x7fff 255 byte stack (instead of 0x100 to 0x1ff on 6502) + +sts/lds store relative to stack +function calls with parameters + +XXW codes, acting on 16-bit words + +WIN, OUT as shortcurs, not really necessary +relative addressing for jumps would help to write relocatable code by hand |