svp: some ARM code translation, as calls, broken

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@358 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-02-17 22:53:20 +00:00
parent 892b1dd258
commit 5c129565f0
5 changed files with 201 additions and 187 deletions

View file

@ -0,0 +1,28 @@
@ vim:filetype=armasm
@ register map:
@ r4: XXYY
@ r5: A
@ r6: STACK and emu flags
@ r7: SSP context
@ r8: r0-r2
@ r9: r4-r6
@ r10: P
.global flush_inval_dcache
.global flush_inval_icache
.text
.align 4
flush_inval_dcache:
mov r2, #0x0 @ ??
swi 0x9f0002
bx lr
flush_inval_icache:
mov r2, #0x1
swi 0x9f0002
bx lr