diff options
Diffstat (limited to 'zap/source/amd64/mem/fill.s')
-rw-r--r-- | zap/source/amd64/mem/fill.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zap/source/amd64/mem/fill.s b/zap/source/amd64/mem/fill.s index f4022d0..7edd36b 100644 --- a/zap/source/amd64/mem/fill.s +++ b/zap/source/amd64/mem/fill.s @@ -15,7 +15,7 @@ zap_fill: cmp rdx,0x8 jl short .bytefill # if (num < 0x8u) goto bytefill; - mov [rdi],rax # *dest = val8; + mov [rdi],rax # *(zap_i04 *)dest = val8; add rdi,0x8 # dest += 0x8u; sub rdx,0x8 # num -= 0x8u; @@ -25,7 +25,7 @@ zap_fill: test rdx,rdx # if (rem == 0x0) jz short .done # goto done - mov [rsi],al # *dest = val1; + mov [rsi],al # *(zap_i8 *)dest = val1; inc rdi # ++dest; dec rdx # --rem; |