Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Sign (S)
Zero (Z)
Auxiliary Carry (AC)
Parity (P)
Carry (C)
Its bit position is shown in the following table −
D7 D6 D5 D4 D3 D2 D1 D0
S Z AC P CY
Instruction register and decoder
It is an 8-bit register. When an instruction is fetched from memory then it is
stored in the Instruction register. Instruction decoder decodes the information
present in the Instruction register.
Timing and control unit
It provides timing and control signal to the microprocessor to perform
operations. Following are the timing and control signals, which control
external and internal circuits −
(3005H) = 14H
(3006H) = 89H
Result −
14H + 89H = 9DH
The program code can be written like this −
HLT None Halt and The CPU finishes executing the current
enter wait instruction and stops further execution. An
state interrupt or reset is necessary to exit from
the halt state.
JM Jump on S=1
minus
JZ Jump on Z=1
zero
CZ Call on Z=1
zero
RZ Return on Z=1
zero
RST 0 0000H
RST 1 0008H
RST 2 0010H
RST 3 0018H
RST 4 0020H
RST 5 0028H
RST 6 0030H
RST 7 0038H
Interrupt Restart
Address
TRAP 0024H
RST 002CH
5.5
RST 0034H
6.5
RST 003CH
7.5
Following is the table showing the list of Arithmetic instructions with their
meanings.
Opcode Operand Meaning Explanation
Following is the table showing the list of Data-transfer instructions with their
meanings.
Opcode Operand Meaning Explanation