Skip to content

Instantly share code, notes, and snippets.

@WathsalaYahampath
Created October 12, 2022 10:35
Show Gist options
  • Save WathsalaYahampath/e242d50554c3f64671b03ead6dde0480 to your computer and use it in GitHub Desktop.
Save WathsalaYahampath/e242d50554c3f64671b03ead6dde0480 to your computer and use it in GitHub Desktop.
extern sum_of_three ; the function sum_of_three is defined elsewhere
push dword 3 ; arg3
push dword 2 ; arg2
push dword 1 ; arg1
call sum_of_three ; call the function, the result will be in eax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment