examples: adapt to new const types

This commit is contained in:
Michael McLoughlin
2018-12-26 17:08:58 -08:00
parent abd300c0e9
commit 662ae52758
8 changed files with 1274 additions and 1272 deletions

View File

@@ -8,10 +8,10 @@ TEXT ·Sum(SB),0,$0-32
MOVQ xs_len+8(FP), CX
XORQ DX, DX
loop:
CMPQ CX, $0x0
CMPQ CX, $0x00
JE done
ADDQ (AX), DX
ADDQ $0x8, AX
ADDQ $0x08, AX
DECQ CX
JMP loop
done: