Question: Part 2 : Arithmetic Instructions 1 . Assemble the following instruction into memory at address CS: 1 0 0 and verify the instruction is at
Part : Arithmetic Instructions Assemble the following instruction into memory at address CS: and verify the instruction is at the location. How many bytes of memory does the instruction take up ADC AXBCD Initialize the word content at DS:BCD with the value AAH and then verify the value is at the location. Initialize register AX with the value H Set the carry flag to Execute the instruction in with the TRACE command. Describe what the instruction did. Did a carryout occur? Assemble the following instruction into memory at address CS: and then verify the instruction is at the location. How many bytes of memory does the instruction take up SBB SI BX Initialize the word content at DS:ABC with the value FFFFH and then verify the value is at the location. Initialize BX with DDDDH Clear the carry flag. Execute the instruction in with the TRACE command. Describe what the instruction did. Did a borrow occur? Describe what DAA does. Assemble and execute the following sequence of instructions. MOV ALH MOV BLH ADD AL BL If we assume that both AL and BL store data in BCD what would you expect for the sum after you add AL with BL in Did you get the sum that you would expect? If you didnt get the sum you would expect, explain why you didnt get the expected sum. Revise the sequence of instructions in to obtain the sum that you would expect if you assume that both AL an BL store data in BCD
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
