summaryrefslogtreecommitdiff
path: root/test/dup.asm
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2020-06-27 23:30:33 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2020-06-27 23:30:33 -0700
commit43a72dd6386864b64c0d6f77b10cab007c024285 (patch)
tree44ca55bb25218015813a39cb546f9d4c6e090e4e /test/dup.asm
parent296685b5e3779b0f44adb2cb142d7128adf5a538 (diff)
downloadnasm-43a72dd6386864b64c0d6f77b10cab007c024285.tar.gz
listing: list short reserved blocks as ?? instead of <res ...>
<res ...> can get rather annoying when mixed in with data, as can happen with the MASM-like db syntax. List shorter blocks (8 bytes or less) as ?? instead; 8 bytes avoids line breaks for a single statement. This is probably more readable anyway... Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
Diffstat (limited to 'test/dup.asm')
-rw-r--r--test/dup.asm15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/dup.asm b/test/dup.asm
index 723da48b..62785628 100644
--- a/test/dup.asm
+++ b/test/dup.asm
@@ -19,3 +19,18 @@
dd 16 dup (0xaaaa, ?, 0xbbbbbb)
dd 64 dup (?)
+
+ resb 1
+ resb 2
+ resb 4
+ resb 8
+
+ resw 1
+ resw 2
+ resw 4
+ resw 8
+
+ resq 1
+ resq 2
+ resq 4
+ resq 8