summaryrefslogtreecommitdiff
path: root/emu
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2008-11-12 13:46:25 +0000
committerCharles.Forsyth <devnull@localhost>2008-11-12 13:46:25 +0000
commit80a374407c3c8837c0e30f32486af86b7c30cded (patch)
tree85c3efb8c030519b84928875ac6867477f7366b5 /emu
parent48063faf7937a148e85991c463bf91e78213ebf1 (diff)
20081112-1346
Diffstat (limited to 'emu')
-rw-r--r--emu/Linux/asm-arm.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/emu/Linux/asm-arm.S b/emu/Linux/asm-arm.S
index 1cdac444..d13bcd0e 100644
--- a/emu/Linux/asm-arm.S
+++ b/emu/Linux/asm-arm.S
@@ -126,6 +126,7 @@ _tas:
@ link register save eliminated.
@ lr needed for prologue
mov r3, #1
- swp r0, r3, [r0]
+ mov r1, r0
+ swp r0, r3, [r1]
mov pc, lr
.size _tas, .-_tas