0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-09-22 10:43:39 -04:00
Files
nasm/test/jmptimes.asm
H. Peter Anvin e515dac43f More matching/macrofication work; now passes "make travis"
More matching and macrofication work.
Improve some error and warning messages.
Update some travis tests for better messages and added optimizations.

Fix duplicated warning messages for the same out-of-range value
problem.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
2024-08-22 22:07:31 -07:00

29 lines
261 B
NASM

bits 64
default rel
%ifndef N
%define N 128
%endif
%macro tms 1+
%ifdef DO_TIMES
times N %1
%else
%assign %%n 0
%rep N
%%l %+ %%n:
%assign %%n %%n + 1
%1
%endrep
%endif
%endmacro
baz:
nop
bar:
tms jmp baz
tms jmp quux
quux:
ret