Question: Write an assembly language program that reads four byte values from memory take the sum of the first two and subtract from that the sum
Write an assembly language program that reads four byte values from memory take the sum of the first two and subtract from that the sum of the second two bytes. Store result in memory. (You do not need to write the skel. asm code, just what would go in the main procedure.) data v DB 12, 7, 1, 5 ans DB ? The program should (12 + 7) - (1 + 5) = 13 the value 13 should be placed in memory
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
