L-3 8 Bits Microprocessor
L-3 8 Bits Microprocessor
3.1 Introduction
combinations or instructions.
set.
following modules:
• The ALU, The ALU to perform data processing function
such as
‘add’, ‘subtract’, ‘AND’, ‘OR’, etc. Uses data from memory and
(operation codes)
• Addition/subtraction
• Logical functions
• Rotation
5- Registers
briefly as follows.
• 8 bits registers
into memory
the stack.
be retrieved soon.
fashion.
- Instruction Register & Decoder
externally.
-Flags
The ALU includes five flip-flops, which are set or reset after an
accumulator and other registers. The flags are stored in the 8-bit
five bit positions out of eight are used to store the outputs of the
five flip-flops. Fig.2 explains the five bits flags in the 8085
Microprocessor.
Fig.2 Status Flag register of 8085 Microprocessor
They are called Zero(Z), Carry (CY), Sign (S), Parity (P), and
They are listed in the Table and their bit positions in the flag
used flags are Zero, Carry, and Sign. The microprocessor uses
eight bits, the flip-flop uses to indicate a carry called the Carry
language programs.
(parity flag) &CY (carry flag). Sign Flag is used for indicating
the sign of the data in the accumulator. The sign flag is set “1”
Zero Flag
Carry Flag
Parity Flag
1- Address Bus.
- Unidirectional
- Instruction Register/Decoder
- ALU unit
- Flag registers
- Instruction register
- Decoder register
Microprocessor.