summaryrefslogtreecommitdiff
path: root/zap/source/arm64
diff options
context:
space:
mode:
Diffstat (limited to 'zap/source/arm64')
-rw-r--r--zap/source/arm64/mem/cp.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/zap/source/arm64/mem/cp.s b/zap/source/arm64/mem/cp.s
index b581487..1eb1569 100644
--- a/zap/source/arm64/mem/cp.s
+++ b/zap/source/arm64/mem/cp.s
@@ -14,8 +14,8 @@ zap_cp:
cmp x2,0x8
blt .bytecp // if (num < 0x8u) goto bytecp;
- ldr x3,[x1] // tmp8 = *(zap_i02 *)src;
- str x3,[x0] // *(zap_i02 *)dest = tmp8;
+ ldr x3,[x1] // tmp8 = *(zap_i04 *)src;
+ str x3,[x0] // *(zap_i04 *)dest = tmp8;
add x0,x0,0x8 // dest += 0x8u;
add x1,x1,0x8 // src += 0x8u;