Question: Microprocessor Interfacing and Embedded System 3. Answer all the questions given below. [10] (a) Consider LIFO and FIFO algorithm as below, (CO2] J LIFO FIFO
Microprocessor Interfacing and Embedded System

3. Answer all the questions given below. [10] (a) Consider LIFO and FIFO algorithm as below, (CO2] J LIFO FIFO MOV AX, 1212h : store 1212h in AX. MOV BX, 3434h : store 3434h in BX Using PUSH-POP command and stack segment only, show how the value of AX and BX can be exchanged [3] (b) Write a delay loop which produces a delay of 500 us on an 8086 with a 5 MHz clock [7] Hints: MOV-4 cycles; NOP-3 cycles; Loop - 17 cycles if return, 5 cycles if exit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
