Question: 1. Calculate A = (A - B) + (C-D). Where A = 38d, B = 0010 1001b, C = A5h and D = 85d. Specifications:

 1. Calculate A = (A - B) + (C-D). Where A

1. Calculate A = (A - B) + (C-D). Where A = 38d, B = 0010 1001b, C = A5h and D = 85d. Specifications: a) You must ensure your registers are cleared before starting this part. b) Ensure that you are using registers (or parts of registers) of the appropriate size. c) You will calculate this in the following manner. A-B C-D (A-B) + (C-D) d) There are no memory to memory operations. You will have to use registers as necessary to accomplish this. e) You must declare 4 DWORD variables to hold the values given above. f) After the result is stored in A, put the result in EAX. g) After the result is in EAX, type the following line of code in your program. Call WriteInt 1. Calculate A = (A - B) + (C-D). Where A = 38d, B = 0010 1001b, C = A5h and D = 85d. Specifications: a) You must ensure your registers are cleared before starting this part. b) Ensure that you are using registers (or parts of registers) of the appropriate size. c) You will calculate this in the following manner. A-B C-D (A-B) + (C-D) d) There are no memory to memory operations. You will have to use registers as necessary to accomplish this. e) You must declare 4 DWORD variables to hold the values given above. f) After the result is stored in A, put the result in EAX. g) After the result is in EAX, type the following line of code in your program. Call WriteInt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!