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

Microprocessor Interfacing and Embedded System 3. Answer all the questions given below.

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!