Ad Code

What will be the call of this function write

Consider the function “int divide (int divided, int divisor)” declared in C, write the code to call
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
Reactions

Post a Comment

0 Comments