Consider the function “int divide (int divided, int divisor)” declared in C, write the code to call
this function from assembly language?
this function from assembly language?
To call this function from assembly we have to write.
push dword [mydivisor]
push dword [mydividend]
call _divide
add esp, 8
; EAX holds the answer
push dword [mydivisor]
push dword [mydividend]
call _divide
add esp, 8
; EAX holds the answer
0 Comments
Please add nice comments or answer ....