Sunteți pe pagina 1din 1

26th November, 2015

Microprocessor Systems
Visa Exam
1- Calculate the value of an 8-bit Accumulator (A) in hexadecimal number system by the end of
logical and arithmetic operations listed below.
a) MOV A,#0FBH ; A=(FB)16
ANL A,#100D
CPL A
RR A ; A=( ? )16
b)
MOV A,#03H ; A=(03)16
MOV R0,#03D ; R0=(03)10
LOOP: RL A
XRL A,#0FH
DJNZ R0,LOOP
ADD A,#0AH ; A=( ? )16

2- A microcontroller from Intel 8051 family will be used to drive 8 LEDs through an 8bits Shift
Register. Three bits in port1 (P1) of the microcontroller will be connected to the 74HC4094 shift
register for serial transfer of the LEDs’ status data (P1.2=strobe, P1.1=serial data, P1.1=clock).
Display will be driven in sink mode. Only the data to be displayed will be visible during update
periods.
a) Please draw a circuit scheme with respect to above mentioned definitions.
b) 8-bit accumulator “A” is assumed to be keeping LEDs’ on/off status (0=off, 1=on). Write a
subroutine that enables content of accumulator in terms of LED on/off status to be displayed in the
correct order.
74HC4094:

3- You’re given an 8-bit CPU that has 64Kbytes direct addressing range. It will be
connected to a memory block that contains 1 piece 27C128 EPROM and 3 pieces of
62C128 static RAM. Reset vector assigns “Program Counter”=0000H.
a) Draw the memory-addressing map of the described system and related logical chip
selection table for the decoder. Express the address decoder outputs in logically
reduced form.
b) Draw the circuit diagram of the defined microcomputer system including the memory
decoder consisting of logical gates.

Duration : 100minutes 1- a) 12P b) 18P 2-a) 10P b) 25P 3- a) 13P b) 22P

S-ar putea să vă placă și