0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-09-22 10:43:39 -04:00
Files
nasm/travis/test/br3392711.asm
Cyrill Gorcunov 57e0b3e56a travis: add br3392711 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2020-08-18 13:59:12 +03: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)