8
answers
1
watching
234
views
11 Nov 2023
sumThree- you should use standard calling conventions to pass three DWORD values on the stack and return the sum of the three values in the eax. register. Make sure the stack is cleaned up properly.
In main create some code to test your functionality. You should enter a three DWORD values, pass them to the sumThree procedure through the stack and output the sum which should be in the eax to the screen when the procedure returns.
Sample Run
Enter 3 numbers
1
2
3
The sum of your numbers is 6
sumThree- you should use standard calling conventions to pass three DWORD values on the stack and return the sum of the three values in the eax. register. Make sure the stack is cleaned up properly.
In main create some code to test your functionality. You should enter a three DWORD values, pass them to the sumThree procedure through the stack and output the sum which should be in the eax to the screen when the procedure returns.
Sample Run
Enter 3 numbers
1
2
3
The sum of your numbers is 6
19 Nov 2023
Already have an account? Log in
hoanglethanh554Lv10
19 Nov 2023
Already have an account? Log in
evangelistaLv10
12 Nov 2023
Already have an account? Log in
Read by 3 people