Skip to content
Snippets Groups Projects
Commit d889ae34 authored by Tom Feng's avatar Tom Feng
Browse files

first step of swi

parent 36bc3729
No related branches found
No related tags found
1 merge request!16Withtime
.file "main.c"
.text
.align 2
.global main
.type main, %function
main:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
mov ip,sp
stmfd sp!, {sl,fp,ip,lr,pc}
sub fp, ip, #4
mov r2, #8
ldr r3, .L1
str r3, [r2]
swi 12
mov r0,#0
ldmfd sp, {sl,fp,sp,pc}
.L1:
movs pc, lr
.size main, .-main
.ident "GCC: (GNU) 4.0.2"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment