Skip to content

Instantly share code, notes, and snippets.

@Araq
Created September 3, 2013 19:18
Show Gist options
  • Save Araq/6428326 to your computer and use it in GitHub Desktop.
Save Araq/6428326 to your computer and use it in GitHub Desktop.
asm test
proc test() =
asm """
".byte 0xCC\n"
"push %rcx\n"
"push %rdx\n"
"push %r8\n"
"mov `navmBackendS1`, %rax\n"
"mov `navmBackendS2`, %r8\n"
"mov `navmBackendTempAdr`, %rdx\n"
"call *%rdx\n"
"mov %rax, `navmBackendS1`\n"
"""
test()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment