Document endianness of dw and dl (#972)

This commit is contained in:
Eldred Habert
2022-02-05 20:12:35 +01:00
committed by GitHub
parent eb5af70d79
commit 6b903059fe

View File

@@ -1386,6 +1386,12 @@ Alternatively, you can use
to store a list of words (16-bit) or
.Ic DL
to store a list of double-words/longs (32-bit).
Both of these write their data in little-endian byte order; for example,
.Ql dw $CAFE
is equivalent to
.Ql db $FE, $CA
and not
.Ql db $CA, $FE .
.Pp
Strings are handled a little specially: they first undergo charmap conversion (see
.Sx Character maps ) ,