home *** CD-ROM | disk | FTP | other *** search
- Example input: What it means (the Return, Enter or <──┘ key
- must be pressed after each command line).
-
- C>DEBUG
- E100 "This is a test, only one test!" 0d 0a<──┘
- E(nter) some characters for later use.
- Every line of a text file ends with 0D 0A.
- Ntest.txt<──┘ Since no name was given on the command line,
- the N(ame) command specifies one.
- RCX<──┘ Set the length of the file with the R(egister)
- CX 0000 command. DEBUG prints the previous contents as
- :20<──┘ "CX 0000".
- W<──┘ Now, W(rite) the file out.
- F100 1000 20<──┘ F(ill) the area used by DEBUG to load the file
- with spaces.
- L<──┘ L(oad) the file in from the disk.
- D110L10<──┘ D(ump) the second half of the test file (ten
- -- thats decimal 16) characters.
-
- 249B:0110 6F 6E 6C 79 20 6F 6E 65-20 74 65 73 74 21 0D 0A only one test!..
-
- Notice how the 0D 0A got printed as ".." That
- happens with all non-printing characters.
- Q<──┘ Now, Q(uit) the DEBUG execution.