home *** CD-ROM | disk | FTP | other *** search
- [32]
-
- Displays or modifies the default setting for disassembling
- code. The default setting causes the debugger to (1) assume 16-bit
- or 32-bit code when disassembling code from linear or physical
- addresses using the DASM command, (2) assume 16-bit or 32-bit offset
- when handling POInter type, (3) assume 16-bit or 32-bit offset when
- a symbol is declared as pointer type using the TYPE command. This
- command is identical to the USE command.
-
- Examples:
- ->WID 16 //Sets to 16-bit code.
- ->WID //Displays the current setting.
-
- See Also:
- DASm, TYPe, STRucture, POInter
- Syntax:
- WORd [address] [= expression [, expression]...]
- [TO address [= expression ]]
- [LENgth n [= expression ]]
-
- Displays or alters memory contents in word scope. The base
- of two addresses that define an address range must be the same.
- For example, WORD 200:40 TO 300:300 is invalid.
-
- Examples:
- ->WORD 40
- ->WOR 100:40 TO 100:200
- ->WORD pointer_to_word LENGTH 20
- ->WOR DS:SI = 5, 8*6, AX+BX
- ->WORD word_array LEN 100 = 0:0
-
- See Also:
- BYTe, CHAr, DWOrd, FLOat, DOUble, QWOrd, POInter, TREal
- Syntax:
- WRIte { "string" } [, { "string" }]... [TO n]
- {expression} {expression}
-
- Writes strings or values of expressions to the specified
- file n which must have been opened using the OPEN command. Default
- is to the console.
-
- Examples:
- ->WRITE "\tIOPB=", IOPB //"\t" is a tab.
- ->WRITE "\nVALUE OF X IS", X //"\n" is a newline.
- ->WRITE a[6] + *ptr_to_short + struct.a1 to 3
- ->WRITE "a1 = ", a1, "a2 = ", a2, "a3 = ", a3
-
- See Also:
- REAd, OPEn, CLOse, INClude
-