List of Mnemonics


⇦ list 10...1F   ⇧ table   list 30...3F ⇨

Opcode Mnemonic Description
20 LDP Load pointer p into accumulator A
21 LDQ Load pointer q into A
22 LDR Load stack pointer s into A
23 RA Reset Accumulator (undocumented)
24 IXL Increment 2-byte register X and load (X) into A
25 DXL Decrement X and load (X) into A
26 IYS Increment Y and store A in (Y)
27 DYS Decrement Y and store A in (Y)
28 #b JRNZP #b Jump relative by plus #b bytes if Zero flag not set
29 #b JRNZM #b Jump relative by minus #b bytes if Zero flag not set
2A #b JRNCP #b Jump relative by plus #b bytes if Carry flag not set
2B #b JRNCM #b Jump relative by minus #b bytes if Carry flag not set
2C #b JRP #b Jump relative by plus #b bytes
2D #b JRM #b Jump relative by minus #b bytes
2F #b LOOP #b Loop back by #b bytes until (s) == 0

 

Language Conventions.

Flags Z and C
The Zero flag is (not) set when ADd, SuBtract, ComPare or TeSt commands yield a (non)zero result.
The Carry flag is set when ADd or SuBtract commands give an overflow.
Stack
The stack pointer is denoted s, not R in this hommage. The memory register on „top of the stack“ is denoted (s).

Disclaimer

Advertisements