home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c221 / 2.ddi / MWHC.002 / 0 next >
Encoding:
Text File  |  1992-03-24  |  1.6 KB  |  51 lines

  1.  [32]
  2.  
  3.     Displays or modifies the default setting for disassembling 
  4. code.  The default setting causes the debugger to (1) assume 16-bit 
  5. or 32-bit code when disassembling code from linear or physical 
  6. addresses using the DASM command, (2) assume 16-bit or 32-bit offset 
  7. when handling POInter type, (3) assume 16-bit or 32-bit offset when 
  8. a symbol is declared as pointer type using the TYPE command.  This
  9. command is identical to the USE command.
  10.  
  11. Examples:
  12.     ->WID 16    //Sets to 16-bit code.
  13.     ->WID        //Displays the current setting.
  14.  
  15. See Also:
  16.     DASm, TYPe, STRucture, POInter
  17. Syntax:
  18.     WORd [address] [= expression [, expression]...]
  19.                    [TO address [= expression     ]]
  20.                    [LENgth n   [= expression     ]]
  21.  
  22.     Displays or alters memory contents in word scope. The base 
  23. of two addresses that define an address range must be the same. 
  24. For example, WORD 200:40 TO 300:300 is invalid.
  25.  
  26. Examples:
  27.     ->WORD 40
  28.     ->WOR 100:40 TO 100:200
  29.     ->WORD pointer_to_word LENGTH 20
  30.     ->WOR DS:SI = 5, 8*6, AX+BX
  31.     ->WORD word_array LEN 100 = 0:0
  32.  
  33. See Also:
  34.     BYTe, CHAr, DWOrd, FLOat, DOUble, QWOrd, POInter, TREal
  35. Syntax:
  36.     WRIte  { "string" }  [, { "string" }]...  [TO  n]  
  37.            {expression}     {expression}
  38.  
  39.     Writes strings or values of expressions to the specified 
  40. file n which must have been opened using the OPEN command. Default 
  41. is to the console.
  42.  
  43. Examples:  
  44.     ->WRITE "\tIOPB=", IOPB      //"\t" is a tab.
  45.     ->WRITE "\nVALUE OF X IS", X      //"\n" is a newline.
  46.     ->WRITE a[6] + *ptr_to_short + struct.a1 to 3
  47.     ->WRITE "a1 = ", a1, "a2 = ", a2, "a3 = ", a3
  48.  
  49. See Also:
  50.     REAd, OPEn, CLOse, INClude
  51.