Browse Source

zasm: make .fill support word arguments

pull/10/head
Virgil Dupras 5 years ago
parent
commit
3a8b5108f7
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      apps/zasm/directive.asm

+ 7
- 3
apps/zasm/directive.asm View File

@@ -183,12 +183,16 @@ handleFIL:
jr nz, .badarg
push bc
push ix \ pop bc
xor a
ld b, c
.loop:
ld a, b
or c
jr z, .loopend
xor a
call ioPutC
jr nz, .ioError
djnz .loop
dec bc
jr .loop
.loopend:
cp a ; ensure Z
pop bc
ret


Loading…
Cancel
Save