100% found this document useful (1 vote)
105 views

Lab Exam (Copy)

This document contains 10 questions that could be randomly selected for a lab exam on microcomputers and interfacing. The questions involve writing programs to perform tasks like loading registers, copying memory, performing calculations, controlling stepper motors and traffic lights based on register values. Students are expected to study all the questions before the exam and will be given 10 minutes to complete and explain their work for one randomly selected question.

Uploaded by

tesfu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
105 views

Lab Exam (Copy)

This document contains 10 questions that could be randomly selected for a lab exam on microcomputers and interfacing. The questions involve writing programs to perform tasks like loading registers, copying memory, performing calculations, controlling stepper motors and traffic lights based on register values. Students are expected to study all the questions before the exam and will be given 10 minutes to complete and explain their work for one randomly selected question.

Uploaded by

tesfu
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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