SAVE n filename
Create a file from current memory.
>SAVE 128 BIGFILE.COM
This will create a file 32k bytes in length.
A program currently residing from 100H in RAM page 0 is transferred to the specified file. The number of 256 byte blocks also has to be specified.
Calculate the number of blocks 'n' as follows:
1 block = 256 bytes
1 K bytes = 4 blocks
2 K bytes = 8 blocks
8 K bytes = 32 blocks
16 K bytes = 64 blocks, etc.
The maximum program size is 54K.