Question: PROGRAM 1 : WRITE THIS IN ASSEMBLY LANGUAGE CODE!!! To practice with multi - precision arithmetic, design a program to compute AL = GA +

PROGRAM 1: WRITE THIS IN ASSEMBLY LANGUAGE CODE!!!
To practice with multi-precision arithmetic, design a program to compute AL = GA + FL -TN,
where all variables are 96-bit unsigned binary numbers. You may ignore any overflow
conditions for this exercise. Using .word directives, define the values of AL, GA, FL, and TN as
96-bit numbers (arrays of three 32-bit words each), stored in "little-endian format".
Recall that the default storage convention for multi-precision numbers is for the least significant
byte to be stored at the lowest address.
Example: ,MS=00123456789 ABCDEF76543210(96 bits =24 hex digits in 3 words)
MS: .word 0x76543210,0x89ABCDEF, 0x01234567(array of 3 words)
Low 32 bits Mid 32 bits High 32 bits
Run the program using the following data.
AL=0000000000000000000000000
GA=0BBBBEEEEAAAA4567BCDE0123
FL=0123456789ABCFABCDEF11234
TN=02345EF01AB67EDCBA9876543
Submit your program and an Expressions View, showing the values of the four variables as
arrays of 3 integers (in hex format) at the completion of the program.
Notes:
Multi-precision arithmetic requires the use of add-with-carry and subtract-with-carry.
If adding or subtracting, an entire multi-precision result must be computed before
moving on to another operation.
PROGRAM 1 : WRITE THIS IN ASSEMBLY LANGUAGE

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 Programming Questions!