Opcodes Flashcards
Copy from source to destination
MOV
this instruction copies the contents of the source register into the destination register; the contents of the source register are not altered
MOV
Move immediate 8-bit
MVI
the 8bit data is stored in the destination register
MVI
Load accumulator
LDA
load accumulator indirect
LDAX
the contents of the designated register pair point to a memory location. this instruction copies the contents of that memory location into the accumulator
LDAX
Load register pair immediate
LXI
This instruction loads 16-bit data in the register designated in the operand
LXI
Load H and L registers direct
LHLD
Store accumulator direct
STA
Store H and L registers direct
SHLD
Exchange H and L with D and E
XCHG
Store H and L registers direct
SHLD
Copy H and L registers to the stack pointer
SPHL
Exchange H and L with top of stack
XTHL
Push register pair onto stack
PUSH
Pop off stack to register pair
POP
Output data from accumulator to a port with 8-bit address
OUT
Input data from accumulator to a port with 8-bit address
IN
Add register or memory to accumulator
ADD
Add register/memory to accumulator with carry
ADC
Add immediate to accumulator
ADI
Add immediate to accumulator with carry
ACI
Add register pair to H and L registers
DAD
Subtract register/memory from accumulator
SUB
Subtract source and borrow from accumulator
SBB
Subtract immediate from accumulator
SUI
Subtract immediate from accumulator with borrow
SBI
Increment register/memory by 1
INR
Increment register pair by 1
INX
Decrement register/memory by 1
DCR
Decrement register pair by 1
DCX
Decimal adjust accumulator
DAA
Jump unconditionally
JMP
jump on carry
JC
Jump on no carry
JNC
Jump on positive
JP
Jump on minus
JM
jump on zero
JZ
jump on no zero
JNZ
jump on parity even
JPE