Question: Write an assembly program in which you will store two signed 8-bit integers to (al) and (bl) registers and preform the following operations. Add
Write an assembly program in which you will store two signed 8-bit integers to (al) and (bl) registers and preform the following operations. Add both values and store the answer in (ch) register. Subtract the value placed in (bl) register from (al) and store the answer in (ch) register Multiply the value placed in (al) register with the value placed (bl) and store it in ax register. Divide the value at (al) with (bl) and store the quotient in (ch) register and remainder in (dh) register.
Step by Step Solution
3.44 Rating (157 Votes )
There are 3 Steps involved in it
Heres an example assembly program that performs the operations you described Set up the registers mo... View full answer
Get step-by-step solutions from verified subject matter experts
