Using ARM Keil uVision if possible Design a program to compu
Using ARM (Keil uVision if possible)
Design a program to compute Bob = Sue + Joe - Ann, where all variables are 96-bit unsigned binary numbers. You may ignore any overflow conditions for this exercise. Define the values of Bob, Sue, Joe, and Ann as 96-bit numbers (three 32-bit words), stored in “little-endian format”, using “dcd” directives. (Recall that the default storage convention for multi-precision numbers is for the least significant byte to be stored at the lowest address.)
Example: ;Bob = 0x0123456789abcdef76543210 (96 bits = 24 hex digits)
Bob dcd 0x76543210,0x89abcdef,0x01234567
Run the program using the following data.
Bob = undefined initially
Sue = 0x123456789abcfabcdef11234
Joe = 0xffffeeeeaaaa4567bcde0123
Ann = 0x2345ef01ab67edcba9876543
Notes:
1. Multi-precision arithmetic requires the use of add-with-carry and subtract-with-carry.
2. If adding or subtracting, an entire multi-precision result must be computed before moving on to another operation.
PLEASE HELP!
Solution
Hey there. I can help with the code. But can u tell me which exact uVision are you using for ARM ?
