Is execution of ARM assembly in iPhone Simulator or Android Simulator possible?

元气小坏坏 提交于 2019-12-14 01:42:34

问题


Can anybody tell me if it is possible to execute programs using arm assembly language in the simulators?


回答1:


It's not possible in the iPhone simulator because it's a i386 application without the capability to emulate another processor. As a consequence, you have to compile your iPhone app to i386 code in order to run it in the simulator.

(I can't tell you about Android.)




回答2:


The Android emulator, based on QEMU, provides full ARMv5TE emulation. ARMv6/v7, VFP, and NEON are present in the current version but I think support for those is still a little flaky.

The Android SDK is a free download, so grab a copy and see if it does what you need.

UPDATE: Full ARMv7-A support is available and stable.



来源:https://stackoverflow.com/questions/3802461/is-execution-of-arm-assembly-in-iphone-simulator-or-android-simulator-possible

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!