Question: In Assembly language read a 3 digit number from one row, then a 1 digit number from the second row. Subtract the 1 digit number

In Assembly language read a 3 digit number from one row, then a 1 digit number from the second row. Subtract the 1 digit number from the 3 digit number, and display the result. Make sure you print your
name first, then your output.
Sample Input
1231
Output
Loay Alnaji
122
Sample Input
Output
Loay Alnaji
099(or you can display 99 without the 0, either one is fine by me)
Sample Input
001
1
Output
Loay Alnaji
0(or you can display 000, either one is fine by me)
 In Assembly language read a 3 digit number from one row,

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!