Opcodes Flashcards

1
Q

Copy from source to destination

A

MOV

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

this instruction copies the contents of the source register into the destination register; the contents of the source register are not altered

A

MOV

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Move immediate 8-bit

A

MVI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

the 8bit data is stored in the destination register

A

MVI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Load accumulator

A

LDA

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

load accumulator indirect

A

LDAX

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

the contents of the designated register pair point to a memory location. this instruction copies the contents of that memory location into the accumulator

A

LDAX

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Load register pair immediate

A

LXI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

This instruction loads 16-bit data in the register designated in the operand

A

LXI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Load H and L registers direct

A

LHLD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Store accumulator direct

A

STA

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Store H and L registers direct

A

SHLD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Exchange H and L with D and E

A

XCHG

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Store H and L registers direct

A

SHLD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Copy H and L registers to the stack pointer

A

SPHL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Exchange H and L with top of stack

A

XTHL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Push register pair onto stack

A

PUSH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Pop off stack to register pair

A

POP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Output data from accumulator to a port with 8-bit address

A

OUT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Input data from accumulator to a port with 8-bit address

A

IN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Add register or memory to accumulator

A

ADD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Add register/memory to accumulator with carry

A

ADC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Add immediate to accumulator

A

ADI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Add immediate to accumulator with carry

A

ACI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Add register pair to H and L registers
DAD
26
Subtract register/memory from accumulator
SUB
27
Subtract source and borrow from accumulator
SBB
28
Subtract immediate from accumulator
SUI
29
Subtract immediate from accumulator with borrow
SBI
30
Increment register/memory by 1
INR
31
Increment register pair by 1
INX
32
Decrement register/memory by 1
DCR
33
Decrement register pair by 1
DCX
34
Decimal adjust accumulator
DAA
35
Jump unconditionally
JMP
36
jump on carry
JC
37
Jump on no carry
JNC
38
Jump on positive
JP
39
Jump on minus
JM
40
jump on zero
JZ
41
jump on no zero
JNZ
42
jump on parity even
JPE
43
jump on parity odd
JPO
44
unconditional subroutine call
CALL
45
call on carry
CC
46
call on no carry
CNC
47
call on positive
CP
48
call on minus
CM
49
Call on zero
CZ
50
call on no zero
CNZ
51
call on parity even
CPE
52
call on parity odd
CPO
53
Return from subroutine unconditionally
RET
54
return on carry
RC
55
return on no carry
RNC
56
return on positive
RP
57
return on minus
RM
58
return on zero
RZ
59
return on no zero
RNZ
60
Return on parity even
RPE
61
return on parity odd
RPO
62
Load program counter with HL contents
PCHL
63
Restart
RST
64
compare register/memory with accumulator
CMP
65
compare immediate with accumulator
CPI
66
logical AND register/memory with accumulator
ANA
67
logical AND immediate with accumulator
ANI
68
exclusive OR register/memory with accumulator
XRA
69
exclusive OR immediate with accumulator
XRI
70
logical OR register/memory wityh accumulator
ORA
71
Logical OR immediate with accumulator
ORI
72
Rotate accumulator left
RLC
73
Rotate accumulator right
RRC
74
each binary bit of accumulator is rotated left by one position
RLC
75
each binary bit of accumulator is rotated right by one position
RRC
76
rotate accumulator left through carry
RAL
77
rotate accumulator right through carry
RAR
78
each binary bit of accumulator is rotated right by one position through the carry flag
RAR
79
each binary bit of accumulator is rotated left by one position through the carry flag
RAL
80
Complement accumulator
CMA
81
complement carry
CMC
82
set carry
STC
83
No operation
NOP
84
halt and enter wait state
HLT
85
disable interrupts
DI
86
enable interrupts
EI
87
Read interrupt mask
RIM
88
Set interrupt mask
SIM
89
Serial Output Data
SOD
90
Serial data enable
SDE
91
don't care
XXX
92
Reset RST 7.5
R7.5
93
Mask set enable
MSE
94
Restart address of instruction RST 0
0000H
95
Restart address of instruction RST 1
0008H
96
Restart address of instruction RST 2
0010H
97
Restart address of instruction RST 3
0018H
98
Restart address of instruction RST 4
0020H
99
Restart address of instruction RST 5
0028H
100
Restart address of instruction RST 6
0030H
101
Restart address of instruction RST 7
0038H
102
Restart address of interrupt TRAP
0024H
103
Restart address of instruction RST 7.5
003CH
104
Restart address of instruction RST 5.5
002CH
105
Restart address of instruction RST 6.5
0034H