          BUFFER.COM  (Murat Aydn 09-April-2004)
          aydinmur@yahoo.com, m-aydin@doctor.com)
          ----------------------------------------

This  is a educational program that serves to understand
how parameters can be transferred to a COM file.

It works for COM files only not for EXE files. Source file included.

Com files dont have separate stack segment. They use
0h-100h space as stack area, program codes begin at 100h.
Specific location (80h) in their stack area always keeps info
about lenght of the parameter given. (My mean of parameter
is any command line typed after program name.
For example BUFFER <parameter> ).

If a com file's 80h.th location is 0Ah, then thats mean
is a parameter exists and this parameter's length is 10 bytes.

Parameter given (if any) always begins at 81h specific address.

Buffer.com was written in order to distinguish and take
parameter from buffer of com files. Hope helps.

Its free but you may send me a "thank" email.

Murat Aydn PhD
aydinmur@yahoo.com, m-aydin@doctor.com

