Hi,
please don't cross-post like this.

2009/4/13 Waqar Ali <[email protected]>:
> 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

_______________________________________________
hardware mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/hardware

Reply via email to