You can lookup a single instruction by typing LD in the instruction field, which will show all load instructions. You can also lookup multiple instructions like LD,CMP.
You can also lookup mnemonics like LDX,LDY in the mnemonic field.
To see all instructions click the Show All link.
Show All | Registers | Addressing Modes | Post Bytes | Acknowledgments | Sock's GIME Reference | Sock's CPU Cycle Data Charts
Not case sensitive.
* = 6309 | Immediate | Direct | Indexed | Extended | Inherent | Relative | Register | Memory | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
* | Mnemonic | Opcode | Cycles | Length | Opcode | Cycles | Length | Opcode | Cycles | Length | Opcode | Cycles | Length | Opcode | Cycles | Length | Opcode | Cycles | Length | Opcode | Cycles | Length | Opcode | Cycles | Length |
ADDA | 8B | 2 | 2 | 9B | 4/3 | 2 | AB | 4+ | 2+ | BB | 5/4 | 3 |
E | F | H | I | N | Z | V | C |
- | - | X | - | X | X | X | X |
Add Memory Byte to 8-Bit Accumulator [r' <- r + (M:M+1)]
DocumenationThese instructions add the contents of a byte in memory with one of the 8-bit accumulators (A,B,E,F). The 8-bit result is placed back into the specified accumulator.
H The Half-Carry flag is set if a carry into bit 4 occurred; cleared otherwise. N The Negative flag is set equal to the new value of bit 7 of the accumulator. Z The Zero flag is set if the new accumulator value is zero; cleared otherwise. V The Overflow flag is set if an overflow occurred; cleared otherwise. C The Carry flag is set if a carry out of bit 7 occurred; cleared otherwise.
The 8-bit ADD instructions are used for single-byte addition, and for addition of the least-significant byte in multi-byte additions. Since the 6x09 also provides a 16-bit ADD instruction, it is not necessary to use the 8-bit ADD and ADC instructions for performing 16-bit addition.
ExampleADDA ;increments A reg