Write an assembly language program to perform the following calculations:
value1 = a + b
value2 = a – b
value3 = a * b
value4 = value1 + value2 + value3
All data values (a and b) are word size. Allocate memory storage of appropriate sizes for value1, value2, value3, and value4. Test you program using the following data set (all values are in hex):
Data Set # | a | b |
1 | 1 | 1 |
2 | 45 | 2 |
3 | 1111 | 2222 |
4 | 2222 | 1111 |
5 | 2 | 45 |
6 | FFFF | 25 |
7 | 0 | 65 |
8 | 1234 | 4321 |
9 | 4321 | 1234 |
10 | ABCD | FF |
11 | FFFF | FFFF |
What to Hand in
- Assembly Language Program File.
( ArmSim# IS THE SOFTWARE REQUIRED FOR THIS ASSIGNMENT
https://connex.csc.uvic.ca/access/content/group/ARMSim/SIMWeb/index.html
- Attached the screenshotP(5.u)
Prime Essay Services , written from scratch, delivered on time, at affordable rates!