Workflow for writing ARM assembly code on the iphone

前端 未结 4 1821
情深已故
情深已故 2021-01-31 12:06

I would like to begin writing ARM assembler and running it on the iPhone.

This is not with the intent of using in an app to be released to the app store - Basically I w

4条回答
  •  温柔的废话
    2021-01-31 12:31

    You can use gcc to make asm inlines with __asm__, or just get a gnu as for arm and write code in separate files. You should have no problems with later linking them up to your project, but I'd suggest you to use c/Objective-C code to wrap up your asm stubs, as writing the whole iPhone application in assembler is somewhat hard (you need to be pretty good in ObjC runtime internals).

    You might be interested in using custom Makefiles, however Xcode projects should be sufficient for most of the taks too.

提交回复
热议问题