mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-03 08:41:02 +08:00
3e458a89d8
a) Fix a number of missing instances of DZ and ZWORD. b) NASM would crash if TIMES was used on an instruction which varies in size, e.g. JMP. Fix this by moving the handling of TIMES at a higher level, so we generate the instruction "de novo" for each iteration. The exception is INCBIN, so we can avoid reading the included file over and over. c) When using the RESx instructions, just fold TIMES into the reserved space size; there is absolutely no point to iterate over it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
22 lines
252 B
NASM
22 lines
252 B
NASM
bits 64
|
|
|
|
; Broken per BR 3392278
|
|
times 4 paddd xmm8, xmm11
|
|
|
|
; Broken per BR 3392279
|
|
bswap r12d
|
|
times 4 bswap r12d
|
|
|
|
; Forward jump
|
|
times 128 jmp there
|
|
|
|
there:
|
|
nop
|
|
|
|
; Backwards jump
|
|
times 128 jmp there
|
|
|
|
section .bss
|
|
times 0x10 resb 0x20
|
|
resb 1
|