Anda di halaman 1dari 1

assignment #1

Q1. Give the logical schematic diagram of 4-bit controller(first processor)


Q2.Give the control signals table for following instructions (assuming memory 25
6*4,
where 256 is location and 4 is width of memory)
(as developed in class for six/eight clocks)
IN ,
HLT, STA M , JMP x ,JZ y
Q3.Develop following two instructions ( Give the control signals table )
MVI A , x (load immediate value x in A)
MOV PC,A
(Load content of A in Programm counter)
CALL x
(save PC in register SP, update PC to x)
RET
( update PC from SP)
(in CALL/RET ,assume one one register SP like TMP)
Q4. Write programme for generating square wave. Calculate its frequency.
(Assume sysctem clock is 0.1microsec, frequency depends on delay count you have
selected)
Q5. Write programme that reads n numbers from input and sort in ascending order.
(n is also read from input)
(OPEN questions- THINK for some better solution)
Q6. There are two Interrupts external inputs are included in h/w of Q1.
when first Interrupt signal is high , PC is load with 80(hex)
when Second Interrupt signal is high , PC is load with 00(hex)
Suggest how it can read any programme and executes it?
Q7. Repeat Q6,if new instructions of Q3 are present.
Q8. Suggest solution with minimum modification in H/w of Q1 so that your system
can
read more than one programme and execute them.
(Q6-7 are OPTIONAL)

Anda mungkin juga menyukai