Gujarat Technological University
Gujarat Technological University
Gujarat Technological University
___________
1
(c) A BCD number between 0 and 99 is stored in a memory location named 07
INBUF. Write a main program and a subroutine to convert the BCD
number into its equivalent binary number. Store the result in a memory
location called OUTBUF.
Q.4 (a) Define the concepts of stack and subroutine. Explain the PUSH and POP 03
instructions of an 8085 microprocessor with example.
(b) Draw the interfacing of a 4KB EPROM having a starting address 04
2000h and two 4KB static RAMs having starting addresses 4000h and
8000h, respectively, with 8085 microprocessor. Use demultiplexed
address/data lines and use 3-to-8 decoder (74LS138)
(c) Draw and explain the block diagram of the programmable peripheral 07
interface (8255A).
OR
Q.4 (a) Explain the SIM and RIM instructions of the 8085 microprocessor. 03
(b) Design an 8085 microprocessor system with 74LS138 to interface eight 04
number of push button switches at the port address 38H and common
anode seven segment LED display at 3AH.
(c) Draw and explain programmable interrupt controller 8259A. 07
*************