home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / forth / compiler / fpc / help / dump.hlp < prev    next >
Encoding:
Text File  |  1989-08-11  |  1.5 KB  |  45 lines

  1. \ DUMP.HLP      A simple dump utility      Enhancements by Tom Zimmer
  2.  
  3. \ The dump utility gives you a formatted hex dump with the ascii
  4. \ text corresponding to the bytes on the right hand side of the
  5. \ screen.
  6.  
  7. C@FUNC          ( a1 --- c1 )
  8.         A defered character fetch function, used by DUMP to fetch
  9.         the data that will be dumped. May be deferd to YC@ to dump
  10.         from head space, or a user defined @ to dump from any
  11.         area of memory desired.
  12.  
  13. .2              ( n1 -- )
  14.         Print n1 as two digits followed by a space.
  15.  
  16. D.2             ( addr len -- )
  17.         Dump the constants of addr for length len, in two digit
  18.         pairs.
  19.  
  20. EMIT.           ( char -- )
  21.         Emit an ascii character char. If the char is not printable
  22.         then print a ".".
  23.  
  24. DLN             ( addr --- )
  25.         Dump a line, consisting of 16 bytes of hex data followed by
  26.         16 bytes of ascii data.
  27.  
  28. .HEAD           ( addr len -- addr' len' )
  29.         Print the header line for DUMP.
  30.  
  31. <DUMP>          ( addr len -- )
  32.         Dump the contants of memory from address addr for length len
  33.         using the currently defined C@ operator. Can be used to
  34.         define your own new dump words that dump other areas of memory.
  35.  
  36. DUMP            ( A1 N1 --- )
  37.         Dump an area of the Code segment.
  38.  
  39. YDUMP           ( A1 N1 --- )
  40.         Dump an area of the HEAD segment.
  41.  
  42. DU              ( addr -- addr+64 )
  43.         Dump another 4 lines (64 bytes).
  44.  
  45.