Problem in Assembly Language Programming for Openmoko

andrzej zaborowski balrogg at
Tue Apr 14 00:13:33 CEST 2009

please don't cross-post like this.

2009/4/13 Waqar Ali <waqar_openmoko at>:
> 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.


More information about the openmoko-kernel mailing list