Home | History | Annotate | Download | only in jni
      1 section .rodata
      2   fmt db "Hello, %s!", 10, 0
      3 
      4 section .text
      5   global  print_hello
      6   extern printf
      7 
      8   print_hello:
      9     sub  esp, 28
     10     mov  eax, [esp+32]
     11     mov  [esp], dword fmt
     12     mov  [esp+4], eax
     13     call printf
     14     add  esp, 28
     15     ret
     16