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
Q

Add register pair to H and L registers

A

DAD

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

Subtract register/memory from accumulator

A

SUB

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

Subtract source and borrow from accumulator

A

SBB

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

Subtract immediate from accumulator

A

SUI

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

Subtract immediate from accumulator with borrow

A

SBI

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

Increment register/memory by 1

A

INR

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

Increment register pair by 1

A

INX

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

Decrement register/memory by 1

A

DCR

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

Decrement register pair by 1

A

DCX

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

Decimal adjust accumulator

A

DAA

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

Jump unconditionally

A

JMP

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

jump on carry

A

JC

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

Jump on no carry

A

JNC

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

Jump on positive

A

JP

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

Jump on minus

A

JM

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

jump on zero

A

JZ

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

jump on no zero

A

JNZ

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

jump on parity even

A

JPE

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

jump on parity odd

A

JPO

44
Q

unconditional subroutine call

A

CALL

45
Q

call on carry

A

CC

46
Q

call on no carry

A

CNC

47
Q

call on positive

A

CP

48
Q

call on minus

A

CM

49
Q

Call on zero

A

CZ

50
Q

call on no zero

A

CNZ

51
Q

call on parity even

A

CPE

52
Q

call on parity odd

A

CPO

53
Q

Return from subroutine unconditionally

A

RET

54
Q

return on carry

A

RC

55
Q

return on no carry

A

RNC

56
Q

return on positive

A

RP

57
Q

return on minus

A

RM

58
Q

return on zero

A

RZ

59
Q

return on no zero

A

RNZ

60
Q

Return on parity even

A

RPE

61
Q

return on parity odd

A

RPO

62
Q

Load program counter with HL contents

A

PCHL

63
Q

Restart

A

RST

64
Q

compare register/memory with accumulator

A

CMP

65
Q

compare immediate with accumulator

A

CPI

66
Q

logical AND register/memory with accumulator

A

ANA

67
Q

logical AND immediate with accumulator

A

ANI

68
Q

exclusive OR register/memory with accumulator

A

XRA

69
Q

exclusive OR immediate with accumulator

A

XRI

70
Q

logical OR register/memory wityh accumulator

A

ORA

71
Q

Logical OR immediate with accumulator

A

ORI

72
Q

Rotate accumulator left

A

RLC

73
Q

Rotate accumulator right

A

RRC

74
Q

each binary bit of accumulator is rotated left by one position

A

RLC

75
Q

each binary bit of accumulator is rotated right by one position

A

RRC

76
Q

rotate accumulator left through carry

A

RAL

77
Q

rotate accumulator right through carry

A

RAR

78
Q

each binary bit of accumulator is rotated right by one position through the carry flag

A

RAR

79
Q

each binary bit of accumulator is rotated left by one position through the carry flag

A

RAL

80
Q

Complement accumulator

A

CMA

81
Q

complement carry

A

CMC

82
Q

set carry

A

STC

83
Q

No operation

A

NOP

84
Q

halt and enter wait state

A

HLT

85
Q

disable interrupts

A

DI

86
Q

enable interrupts

A

EI

87
Q

Read interrupt mask

A

RIM

88
Q

Set interrupt mask

A

SIM

89
Q

Serial Output Data

A

SOD

90
Q

Serial data enable

A

SDE

91
Q

don’t care

A

XXX

92
Q

Reset RST 7.5

A

R7.5

93
Q

Mask set enable

A

MSE

94
Q

Restart address of instruction RST 0

A

0000H

95
Q

Restart address of instruction RST 1

A

0008H

96
Q

Restart address of instruction RST 2

A

0010H

97
Q

Restart address of instruction RST 3

A

0018H

98
Q

Restart address of instruction RST 4

A

0020H

99
Q

Restart address of instruction RST 5

A

0028H

100
Q

Restart address of instruction RST 6

A

0030H

101
Q

Restart address of instruction RST 7

A

0038H

102
Q

Restart address of interrupt TRAP

A

0024H

103
Q

Restart address of instruction RST 7.5

A

003CH

104
Q

Restart address of instruction RST 5.5

A

002CH

105
Q

Restart address of instruction RST 6.5

A

0034H