Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Lab Exam (Copy)

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Microcomputers and Interfacing (EEng - 5609) ASTU

Laboratory (Emu8086 emulator) Exam Questions (5%)

Instruction:
You will be asked to do one of the questions randomly in a computer lab.

You will be given 10 min to finish and explain your work.

It is expected from you to study all the questions before you came to the exam. You can
bring the answer for the question with paper or Flash disk.

1. Write a program that loads AX register by 4567H and BL by 34H and then copy that to
a memory address of 45234H and DL registers respectively. Run your program and
show if you have done it correctly.

2. Write a program that converts temperature values in degree Celsius on BX register to


degree Fahrenheit and store the result on memory address of 72587H.
0
F = 9/5 0 C + 32

3. Write a program that will count the number of 1s and 0s in AX register and store the
the number of 1s in BH register and number of 0s in BL register.

4. Write a program to copy a string byte of data 125H length from a memory location of
7AE45H to 80943H.

5. Write a program to display a count of even numbers starting from 50 to 100 on


LED-Display.

6. Write a program to rotate the stepper motor CLOCK-WISE if the value of AX is


FFFFH else the stepper motor will not rotate.

7. Write a program to rotate the stepper motor ANTI-CLOCK-WISE if the value of BX is


FFFFH else the stepper motor will not rotate.

8. Write a program to turn ON all green lights in the traffic light if the value of CL
register is 11H

9. Write a program to turn ON all yellow lights in the traffic light if the value of CL
register is 22H

10. Write a program to turn ON all red lights in the traffic light if the value of CL register
is 33H

Page 1 of 1

You might also like