mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
84b852bff0
Add support for complex data (Dx) statement expressions involving both initialized and uninitialized data. In addition, we have support for overriding the size of each element on an individual item and/or list basis. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
22 lines
301 B
NASM
22 lines
301 B
NASM
bits 32
|
|
|
|
db 33
|
|
db (44)
|
|
; db (44,55) -- error
|
|
db %(44,55)
|
|
db %('XX','YY')
|
|
db ('AA')
|
|
db %('BB')
|
|
db ?
|
|
db 6 dup (33)
|
|
db 6 dup (33, 34)
|
|
db 6 dup (33, 34), 35
|
|
db 7 dup (99)
|
|
db 7 dup (?,?)
|
|
dw byte (?,44)
|
|
|
|
dw 0xcc, 4 dup byte ('PQR'), ?, 0xabcd
|
|
|
|
dd 16 dup (0xaaaa, ?, 0xbbbbbb)
|
|
dd 64 dup (?)
|