03.03.2013 Views

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The SAVE Command <strong>CP</strong>/M 3 User's Guide<br />

The SAVE Command<br />

Syntax: SAVE<br />

Explanation: The SAVE command copies the contents of memory to a file. To use<br />

the SAVE utility, first issue the SAVE command, then run your program<br />

which reads a file into memory. When your program exits, it<br />

exits to the SAVE utility. The SAVE utility prompts you for the filespec<br />

to which the memory is to be copied, and the beginning and ending<br />

address of the memory to be saved.<br />

Example: A > SAVE<br />

The preceding command activates the SAVE utility. Now enter the<br />

name of the program that loads a file into memory.<br />

A >SID dumip.com<br />

Next, execute the program.<br />

# g0<br />

When the program exits, SAVE intercepts the return to the system and<br />

prompts you for the filespec and the bounds of memory to be saved.<br />

SAYE Ye r 3 . 0<br />

File (or RETURN to exit)?dump2.com<br />

Delete dump2.com?Y<br />

From?100<br />

To?400<br />

A><br />

The contents of memory from 100H, hexadecimal, to 400H is copied<br />

to file DUMP2.COM.<br />

5-95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!