Problem in Assembly Language Programming for Openmoko
andrzej zaborowski
balrogg at gmail.com
Tue Apr 14 00:13:33 CEST 2009
Hi,
please don't cross-post like this.
2009/4/13 Waqar Ali <waqar_openmoko at yahoo.com>:
> We are working on a project that needs use of assembly language, to develop
> low-level programs for Openmoko. However, I am facing a problem while using
> assembly.
>
> When I write a very simple program (that just exits the program on arm
> architecture):
>
> .section .text
> .globl _start
>
> _start:
> SWI 0x11
The code I use for exit(0) is
mov r0, #0
swi #0x900001
and I think the other syscalls start at 0x900000 too, in current ABI.
Cheers
More information about the hardware
mailing list