Crate c64_assembler_6502

Source
Expand description

Crate containing definitions of the 6502 instruction set.

§Table

Table with all the instructions and op-codes per addressing mode.

InstructionImpliedImmediateAccumulatorAbsoluteAbsolute,XAbsolute,YZero PageZero Page,XZero Page,YRelativeIndirectIndirect,XIndirect,Y
ADC0x690x6D0x7D0x790x650x750x610x71
AND0x290x2D0x3D0x390x250x350x210x01
ASL0x0A0x0E0x1E0x060x16
BCC0x90
BCS0xB0
BEQ0xF0
BIT0x2C0x24
BMI0x30
BNE0xD0
BPL0x10
BRK0x00
BVC0x50
BVS0x70
CLC0x18
CLD0xD8
CLI0x58
CLV0xB8
CMP0xC90xCD0xDD0xD90xC50xD50xC10xD1
CPX0xE00xEC0xE4
CPY0xC00xCC0xC4
DEC0xCE0xDE0xC60xD6
DEX0xCA
DEY0x88
EOR0x490x4D0x5D0x590x450x550x410x51
INC0xEE0xFE0xE60xF6
INX0xE8
INY0xC8
JMP0x4C0x6C
JSR0x20
LDA0xA90xAD0xBD0xB90xA50xB50xA10xB1
LDX0xA20xAE0xBE0xA60xB6
LDY0xA00xAC0xBC0xA40xB4
LSR0x4A0x4E0x5E0x460x56
NOP0xEA
ORA0x090x0D0x1D0x190x050x150x010x11
PHA0x48
PHP0x08
PLA0x68
PLP0x28
ROL0x2A0x2E0x3E0x260x36
ROR0x6A0x6E0x7E0x660x76
RTI0x40
RTS0x60
SBC0xE90xED0xFD0xF90xE50xF50xE10xF1
SEC0x38
SED0xF8
SEI0x78
STA0x8D0x9D0x990x850x950x810x91
STX0x8E0x860x96
STY0x8C0x840x94
TAX0xAA
TAY0xA8
TSX0xBA
TXA0x8A
TXS0x9A
TYA0x98

Modules§

instruction
opcodes

Functions§

isa_6502
Return all instruction definitions inside the 6502 instruction set.