Question: for assembly x86 Produce both Assembly programs and Java/Pseudo-code for all Write a program that collects four signed values from the user representing A, B,
for assembly x86
Produce both Assembly programs and Java/Pseudo-code for all
Write a program that collects four signed values from the user representing A, B, C & D. Use unique prompts for each variable. Store each value in one of four WORD variables appropriate for these 4 variables. At this point, clear the value in the EAX register by loading the value -1. Next calculate the following two expressions and store the results in two WORD variables - result1 and result2. RESULT1 = 2A - B + 6C - 3D RESULT1 = 5D + 3A - 2B + C Finally, report the answers something like the following: {your prompts go here} ... For the equation 2A - B + 6C - 3D, the answer is: As a signed integer: -17160 As an unsigned integer: 48376 In HEX: FFFFBCF8 ... {repeat for the second equation} Sample output. Note that missing part is the collection of the variables A,B, C, & D as well as the second equations output.
Typed answer required
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
