Question: Assembly Language, please help ; ******** write the code for task 3 below this line *********** ; 4. Add the value at address B to

Assembly Language, please help
; ******** write the code for task 3 below this line *********** ; 4. Add the value at address B to eax ; ******** write the code for task 4 below this line ****** ***** ; 5. Subtract the value at address in C ; ******** write the code for task 5 below this line *********** ; 6. Call the iprintLF function to print out the value ; ******** write the code for task 6 below this line *********** ; 7. Assign the value that is in EAX to EBX (hint, think of mov) ; ******** write the code for task 7 below this line *********** ; 8. Use the right shift operator to divide the value in EAX by 2 ; ******** write the code for task 8 below this line *********** ; 9. The resulting value in EAX should be 21, convert 21 to a binar y number (you don't need to write code to do this) ; 10. Save the value of EAX into EBX and define another variable cal led answer1 to the data segment and make it a byte/string definition that is initialized with The binary number for task #9 For example if the binary number is 1110100 the string would be "1110100" ; 11. Print the string using the sprintLF function (remember that yo u need to load the address for the string in the EAX register) ; ******** write the code for task 11 below this line ******** ** ; 12. Assign the value that is in EBX to EAX ; ******** write the code for task 12 below this line ******
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
