An Introduction To INTEL 8085 Microprocessor: By:Ravindra Nadh.V, Assistant Professor, GST, Bangalore
An Introduction To INTEL 8085 Microprocessor: By:Ravindra Nadh.V, Assistant Professor, GST, Bangalore
An Introduction To INTEL 8085 Microprocessor: By:Ravindra Nadh.V, Assistant Professor, GST, Bangalore
INTEL 8085
MICROPROCESSOR
BY:RAVINDRA NADH.V,
ASSISTANT PROFESSOR,
GST, BANGALORE.
Basic Concepts of Microprocessors
Address Bus.
Data Bus.
the address bits during the early part, then during the late
parts of the execution, they carry the 8 data bits.
In order to separate the address from the data, we can use a
CLK (OUT): An output clock pin to drive the clock of the rest
of the system.
THE ALU
In addition to the arithmetic & logic circuits, the ALU
includes an accumulator, which is a part of every
arithmetic & logic operation.
This flag is set when a carry is generated from bit D3 and passed to
D4 . This flag is used only internally for BCD operations.
P-Parity flag
After an ALU operation, if the result has an even number of 1’s, the
p-flag is set. Otherwise it is cleared. So, the flag can be used to
indicate even parity.
CY-carry flag
20
ADDRESSING MODES
For 8085, there are 4 types of addressing modes. They are:
Immediate addressing:
Data is present in the instruction.
Load the immediate data to the destination provided.
Example: MVI R, data
Register addressing:
Data is provided through the registers.
Example: MOV Rd, Rs
Direct addressing :
Used to accept data from outside devices to store in the
accumulator or send the data stored in the accumulator to
the outside device.
Example: IN 00H or OUT 01H
CONT……
Indirect addressing:
This means that the Effective Address is calculated by
the processor.
And the contents of the address (and the one following)
Arithmetic Group
Logical Group
LHLD addr Load H-L pair direct [L] <-- [addr], [H] <-- [addr+1].
SHLD addr Store H-L pair direct [addr] <-- [L], [addr+1] <-- [H].
SBI data Subtract immediate data [A] <-- [A] – data – [CS].
from accumulator with
borrow
NOP No Operation