[Nasm-bugs] [Bug 3392403] missing documentation for specifying size, e.g. mov *byte* [addr], imm
noreply-nasm at dev.nasm.us
noreply-nasm at dev.nasm.us
Fri Mar 12 00:12:58 PST 2021
https://bugzilla.nasm.us/show_bug.cgi?id=3392403
vanyacpp at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vanyacpp at gmail.com
--- Comment #4 from vanyacpp at gmail.com ---
I stumbled upon the same problem. I found a very nice table of all size
keywords at stackoverflow.
1 byte (8 bit): byte DB RESB
2 bytes (16 bit): word DW RESW
4 bytes (32 bit): dword DD RESD
8 bytes (64 bit): qword DQ RESQ
10 bytes (80 bit): tword DT REST
16 bytes (128 bit): oword DO/DDQ RESO/RESDQ
32 bytes (256 bit): yword DY RESY
64 bytes (512 bit): zword DZ RESZ
I believe adding a table like this somewhere to chapter 3 would be great.
See
https://stackoverflow.com/questions/12063840/what-are-the-sizes-of-tword-oword-and-yword-operands
--
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.
More information about the Nasm-bugs
mailing list