Professional Documents
Culture Documents
1- Write an ALP to measure the average speed of a moving car , assume the data input
comes from port A in 8255PPI , located at port number 310 , take 10 samples with 5
seconds between each , if any sample exceeds 120kM/h triggers an interrupt
procedure , that throws a warning signal via port B , outputting the number CB h .
,assume interrupt vector = , use the most compact code possible , & write the ISR
independently . [input device gives speed in kM/h , the clock is at 5 MHz].
2- Draw the timing diagram for the 8086 P executing the instruction
a- MOV AX,[00D8]
b- Add Cx , 4h
3abcd-
abcd-
4-
b-
c-
1/21/16
EE334 , EXAM QUESTIONS HW
d-
e-
f-
PUSH operation
a) decrements SP
b) increments SP
c) decrements SS
d) increments SS
g-
h-
i-