Experiment #5

Arithmetic Instructions

  • Objective
  1. Arithmetic Instructions in Assembly of the 8086.
  2. Radix Conversion
  • Pre-Lab Work:

     read the experiment from the manual before coming to the class.

 

  • Lab Work:
  1. Write a program that prompts the user to enter 2 4-digit decimal numbers. Then, it calculates their product and displays it on the screen.

           Make use of  program 5.1 to simplify your task.

      Example

      c:\exp3

         Enter the 1st # 1122

         Enter the 1st # 8014

         The result is 8991708

 

  • Mark distribution
  Task Mark  
Reading Input 2
Converting Input to Hex 4
Multiplying 1
Displaying the results 2
User-Friendly Interface 1

Total

10