Sign in
android
/
platform
/
ndk
/
fb0e997e4d54b8d75b4102ecc31f3c2d963e5dad
/
.
/
tests
/
device
/
test-yasm
/
jni
/
print_hello.asm
blob: 5d7a12e7ce60205ac3220fd43ffcbf48f8f566b3 [
file
] [
log
] [
blame
]
section
.
rodata
fmt db
"Hello, %s!"
,
10
,
0
section
.
text
global
print_hello
extern
printf
print_hello
:
sub
esp
,
28
mov eax
,
[
esp
+
32
]
mov
[
esp
],
dword fmt
mov
[
esp
+
4
],
eax
call printf
add esp
,
28
ret