Module 1
Module 1
Module-1
December 2017
1. Explain the architecture of 8085 microprocessor with neat block diagram (10)
Answer:
Microprocessor is a programmable integrated device that has computing and decision making
capability. 8085 is 8-bit microprocessor. It mainly contains ALU, timing and control unit and
registers.It has 8 bit data bus and 16 bit address bus.
1.Accumulator (A): The accumulator is an 8-bit register used to store 8-bit data and to perform
arithmetic and logical instructions. Accumulator is also used for input/output operations.
2.Flags:
There are five flip-flops which can be set or rest after an operation according to data conditions
of the result in accumulator and other registers. They are sign, zero, auxiliary carry, parity and
carry.
5. Stack pointer: 16-bit register used to store address of most recent stack entry.
b) Temporary data register: Internally used for most arithmetic & logical instructions.
Address buffer: 8-bit unidirectional buffer used to drive higher order address bus (A15-A8)
Address/data buffer: 8-bit bidirectional buffer used to drive lower order address bus (A7-A0)
& address bus (D7-D0)
Interrupt control: It has five interrupt inputs RST 7.5, RST 6.5, RST 5.5, INTR , TRAP and
one interrupt acknowledge signal INTA.
Serial input/output control: In serial data communication one bit is transferred at a time over
a single line. There are two pins to receive and transmit data. They are SOD and SID. Serial
Output Data (SOD) line is used to send data serially. Serial Input Data (SID) line is used to
receive data serially.
Timing and control unit: This unit is responsible for all operations in 8085. The functions are:
December 2018
Answer:
ALE: Address Latch Enable. It goes high when operation is started by the processor. ALE is
high, when address passed through address/data bus.
READY: Used by microprocessor to sense whether peripherals are ready or not for data
transfer. It is used to synchronize slower external device to microprocessor. If it is low, then
microprocessor waits until becomes high.
HOLD: It indicates that another device is requesting for the use of address bus, data bus &
control bus. When microprocessor receives hold signal it completes current machine cycle &
stops executing next instruction
TRAP: TRAP is a non-maskable interrupt. Whenever this pin gets activated, the 8085 always
get interrupted. The input of TRAP is level sensitive and edge sensitive. It is highest priority
interrupt.
LXI H, 3040H
MOV B, M
DCR B
INX H
BACK MOV A, M
INX H
CMP M
JC NEXT BYTE
MOV C, M
MOV M, A
DCX H
MOV M, A
INX H
DCR D
JNZ BACK
MOV A,D
CPI FFH
JNZ REPEAT
5. Explain with neat block diagram architecture of intel 8085 microprocessor. (10)
Answer: Repeated question
December 2019
Answer: Write the program of descending order of an array. Change the instruction JC by
JNC in the program of ascending order.
LXI H, 3040H
MOV B, M
DCR B
INX H
BACK MOV A, M
INX H
CMP M
MOV C, M
MOV M, A
DCX H
MOV M, A
INX H
JNZ BACK
MOV A, D
CPI FFH
JNZ REPEAT
MAY 2019
9.The content of accumulator and B register are 2AH and ABH respectively. Find the
content of A register and flag after the execution of instruction ADD B. (5)
Answer:
Answer:
MOV A, M - Copy the data byte into register from the memory specified by the address in HL
register pair
April 2018
12. With examples explain the addressing modes of 8085. (5)-Repeated question
13. With a neat block diagram explain the internal architecture of 8085 microprocessor. (10)
Repeated question
14. Write a program to sort an array of 10 numbers in ascending order. (6) – Repeated question