summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn van Groningen2006-04-27 12:22:00 +0000
committerJohn van Groningen2006-04-27 12:22:00 +0000
commit0dd4dbb6e1eab7070aad86d767c65c60f909a93d (patch)
tree2b810048461816634a129dd3b6fd685d8403df3f
parentfix copying records with >2 fields and 1 pointer (diff)
fix previous revision
-rw-r--r--scopy.s8
1 files changed, 4 insertions, 4 deletions
diff --git a/scopy.s b/scopy.s
index 680fd89..daf5c34 100644
--- a/scopy.s
+++ b/scopy.s
@@ -1187,11 +1187,11 @@ copy_record_node2_3_ab:
bne record_arguments_already_copied_2
bset %o0,%o1
- sll d2,2,a1
+ sll d2,2,%o0
stb %o1,[a1+d1]
- sub %o4,a1,a1
+ sub %o4,%o0,a1
sub a1,3,%o0
sub a1,4,a1
@@ -1217,11 +1217,11 @@ copy_record_node2_3_b:
bne record_arguments_already_copied_3
bset %o0,%o1
- sll d2,2,a1
+ sll d2,2,%o0
stb %o1,[a1+d1]
- sub %o4,a1,a1
+ sub %o4,%o0,a1
sub a1,3,%o0
sub a1,4,a1