nasm/test/br3392711.asm
H. Peter Anvin fc82905b3c test: add some additional test cases
Some test cases, mostly from bug reports.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2024-01-29 17:25:23 -08:00

19 lines
696 B
NASM

;
; In br33927711 we've not been expanding %?? and %*?? correctly
;
section .text
%define label(prefix, suffix) prefix %+ suffix
label_1:
mov eax, label(%??, _1)
label_2:
mov eax, label(%?, _2)
%define label0123456789a0123456789a0123456789a0123456789a0123456789a0123456789a0123456789(prefix, suffix) prefix %+ suffix
label0123456789a0123456789a0123456789a0123456789a0123456789a0123456789a0123456789_1:
mov eax, label0123456789a0123456789a0123456789a0123456789a0123456789a0123456789a0123456789(%??, _1)
label0123456789a0123456789a0123456789a0123456789a0123456789a0123456789a0123456789_2:
mov eax, label0123456789a0123456789a0123456789a0123456789a0123456789a0123456789a0123456789(%??, _2)