Module dm6502.instructions
Built-in Instruction and InstructionSet classes.
Classes
| Name | Description |
|---|---|
ADC
|
ADd with Carry to accumulator. |
AND
|
AND to accumulator. |
ASL
|
Arithmetic Shift Left. |
B__
|
Branch if Carry Clear. Branch if Carry Set. Branch if Equal. Branch if Not Equal. Branch if MInus. Branch if PLus. Branch if oVerflow Clear. Branch if oVerflow Set. |
BIT
|
BIT - AND with accumulator without effect on accumulator. |
BRK
|
BReaK. |
CL_
|
CLear Carry. CLear Decimal mode. CLear Interrupt disable. CLear oVerflow. |
CMP
|
CoMPare with accumulator. |
CPX
|
ComPare with X. |
CPY
|
ComPare with Y. |
DE_
|
DEcrement X by one. DEcrement Y by one. |
DEC
|
DECrement by one. |
EOR
|
Exclusive OR to accumulator. |
IN_
|
INcrement X by one. INcrement Y by one. |
INC
|
INCrement by one. |
ISA6502
|
Original MOS 6502 instruction set. |
JMP
|
JuMP to new location. |
JSR
|
Jump to SubRoutine. |
LDA
|
LoaD Accumulator. |
LDX
|
LoaD X. |
LDY
|
LoaD Y. |
LSR
|
Logical Shift Right. |
NOP
|
No OPeration. |
ORA
|
OR to Accumulator. |
P__
|
PusH Accumulator. PusH Processor status. PuLl Accumulator. PuLl Processor status. |
ROL
|
ROtate Left through carry. |
ROR
|
ROtate Right through carry. |
RT_
|
ReTurn from Interrupt. ReTurn from Sub-routine. |
SBC
|
SuBtraCt with borrow from accumulator. |
SE_
|
SEt Carry. SEt Decimal mode. SEt Interrupt disable. |
STA
|
STore Accumulator. |
STX
|
STore X. |
STY
|
STore Y. |
T__
|
Transfer Accumulator to X. Transfer Accumulator to Y. Transfer Stack pointer to X. Transfer X to Accumulator. Transfer X to Stack pointer. Transfer Y to Accumulator. |