Skip to content

Instantly share code, notes, and snippets.

@tuttlem
Created November 26, 2012 12:14
Show Gist options
  • Save tuttlem/4147906 to your computer and use it in GitHub Desktop.
Save tuttlem/4147906 to your computer and use it in GitHub Desktop.
Simple Window - New Macros
; copies data from one memory location to another
m2m MACRO M1, M2
push M2
pop M1
ENDM
; syntactic sugar for returning a value
return MACRO arg
mov eax, arg
ret
ENDM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment