Last active
August 20, 2024 10:59
-
-
Save rbran/15b7d67b8d0fa89fb24efe2279a97859 to your computer and use it in GitHub Desktop.
List of 6502 instructions generated using ghidra sleigh with sleigh-rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NOTE: bits are from least to most significant, 'X' means the value could not be defined as a single bit. | |
name DEC: | |
bits 01100011 | |
bits 01110011 | |
bits 01101011 | |
bits 01111011 | |
name INC: | |
bits 01100111 | |
bits 01110111 | |
bits 01101111 | |
bits 01111111 | |
name TSX: | |
bits 01011101 | |
name PLA: | |
bits 00010110 | |
name STA: | |
bits 10XXX001XXXXXXXX | |
name INY: | |
bits 00010011 | |
name SEI: | |
bits 00011110 | |
name PHP: | |
bits 00010000 | |
name TAY: | |
bits 00010101 | |
name BVS: | |
bits 00001110XXXXXXXX | |
name BCC: | |
bits 00001001XXXXXXXX | |
name CPX: | |
bits 00000111 | |
bits 00100111 | |
bits 00110111 | |
name TXS: | |
bits 01011001 | |
name CLV: | |
bits 00011101 | |
name BCS: | |
bits 00001101XXXXXXXX | |
name DEX: | |
bits 01010011 | |
name SBC: | |
bits 10XXX111XXXXXXXX | |
name CLC: | |
bits 00011000 | |
name BVC: | |
bits 00001010XXXXXXXX | |
name ASL: | |
bits 01100000 | |
bits 01010000 | |
bits 01110000 | |
bits 01101000 | |
bits 01111000 | |
name LDY: | |
bits 00000101 | |
bits 00100101 | |
bits 00110101 | |
bits 00101101 | |
bits 00111101 | |
name LDX: | |
bits 01000101 | |
bits 01100101 | |
bits 01110101 | |
bits 01101101 | |
bits 01111101 | |
name RTI: | |
bits 00000010 | |
name JSR: | |
bits 00000100XXXXXXXXXXXXXXXX | |
name SED: | |
bits 00011111 | |
name STY: | |
bits 00100001 | |
bits 00110001 | |
bits 00101001 | |
name BIT: | |
bits 00100100 | |
bits 00110100 | |
name BMI: | |
bits 00001100XXXXXXXX | |
name CPY: | |
bits 00000011 | |
bits 00100011 | |
bits 00110011 | |
name ADC: | |
bits 10XXX110XXXXXXXX | |
name BNE: | |
bits 00001011XXXXXXXX | |
name LDA: | |
bits 10XXX101XXXXXXXX | |
name JMP: | |
bits 00110010XXXXXXXXXXXXXXXX | |
bits 00110110XXXXXXXXXXXXXXXX | |
name ROR: | |
bits 01100110 | |
bits 01010110 | |
bits 01110110 | |
bits 01101110 | |
bits 01111110 | |
name STX: | |
bits 01100001 | |
bits 01110001 | |
bits 01101001 | |
name DEY: | |
bits 00010001 | |
name LSR: | |
bits 01100010 | |
bits 01010010 | |
bits 01110010 | |
bits 01101010 | |
bits 01111010 | |
name ROL: | |
bits 01100100 | |
bits 01010100 | |
bits 01110100 | |
bits 01101100 | |
bits 01111100 | |
name NOP: | |
bits 01010111 | |
name CLD: | |
bits 00011011 | |
name TYA: | |
bits 00011001 | |
name BPL: | |
bits 00001000XXXXXXXX | |
name SEC: | |
bits 00011100 | |
name BEQ: | |
bits 00001111XXXXXXXX | |
name INX: | |
bits 00010111 | |
name PLP: | |
bits 00010100 | |
name CLI: | |
bits 00011010 | |
name PHA: | |
bits 00010010 | |
name TAX: | |
bits 01010101 | |
name AND: | |
bits 10XXX100XXXXXXXX | |
name BRK: | |
bits 00000000 | |
name CMP: | |
bits 10XXX011XXXXXXXX | |
name RTS: | |
bits 00000110 | |
name TXA: | |
bits 01010001 | |
name EOR: | |
bits 10XXX010XXXXXXXX | |
name ORA: | |
bits 10XXX000XXXXXXXX | |
first bytes: | |
0x84 | 0x8c | 0x94 | 0xb0 | 0xba | 0x90 | 0x38 | 0x28 | 0xd0 | 0x18 | 0xb8 | 0xa2 | 0xa6 | 0xae | 0xb6 | 0xbe | 0x68 | 0xa8 | | |
0x48 | 0xf8 | 0x86 | 0x8e | 0x96 | 0x8a | 0xa0 | 0xa4 | 0xac | 0xb4 | 0xbc | 0x88 | 0x98 | 0xe0 | 0xe4 | 0xec | 0x4c | 0x6c | | |
0x10 | 0x60 | 0x9a | 0x70 | 0xc6 | 0xce | 0xd6 | 0xde | 0x30 | 0x58 | 0xca | 0x08 | 0xea | 0xd8 | 0x26 | 0x2a | 0x2e | 0x36 | | |
0x3e | 0xf0 | 0x24 | 0x2c | 0xe6 | 0xee | 0xf6 | 0xfe | 0x46 | 0x4a | 0x4e | 0x56 | 0x5e | 0x78 | 0x06 | 0x0a | 0x0e | 0x16 | | |
0x1e | 0xc0 | 0xc4 | 0xcc | 0xaa | 0x00 | 0xc8 | 0xe8 | 0x50 | 0x40 | 0x20 | 0x66 | 0x6a | 0x6e | 0x76 | 0x7e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment