简体   繁体   中英

Android ARM Assembly prinft

... starts here                 

stmfd   sp!, {r0, r1, r2, r3, ip, lr}
bl      printf
ldmfd   sp!, {r0, r1, r2, r3, ip, lr}

... should comback here

I added this assembly code in Dalvik VM and it seems the code I added does not blow up the program. But where do I see the printf? I check DDMS and console but none of them printing out something.

你试过调用putchar()在控制台上打印一些东西吗?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM