Write a series of text strings or numbers to the output device. If an error occurs during output, IO_ERROR will be updated with the error code.
Assumed unless otherwise specified:
Data type overrides:
CHAR | output as ASCII character |
BIN | output as binary |
HEX | output as hexadecimal |
UINT | output as unsigned integer |
SINT | output as signed integer |
Data bit sizes:
BYTE | data is a 8-bit value |
WORD | data is a 16-bit value |
DWORD | data is a 32-bit value |
QWORD | data is a 64-bit value |
TWORD | data is a 80-bit value |
OWORD | data is a 128-bit value |
YWORD | data is a 256-bit value |
ZWORD | data is a 512-bit value |
More rules:
; write the constant string to the output device Write "Hello, World!" ; write the string stored at CS:HI_WORLD to the output device Write HI_WORLD ; write a hex value followed by a string and preceeded by "0x" Write "0x", hex AX, " bytes" ; miscellaneous examples Write char [ES:SI] Write sint qword [SI] Write PREFIX_TEXT, hex yword [SI], "->", \ char AL, "/", [DI], " ", uint dword [VALUE_X], "+", DX, " bytes"
See also WriteAssign, WriteLn, IO_ERROR