Question: Please write in assembly language: Create a program that reads two signed words from the input port addressed by 0xC000_00AC, adds those values, then negates
Please write in assembly language:
Create a program that reads two signed words from the input port addressed by 0xC000_00AC, adds those values, then negates the result of the addition, then subtracts 0x054 from the value before outputting the result to the output port addressed by 0xC000_0088. For this program, assume the data read from the input port is in 2s complement format.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
