*** Sam Izzo wrote in a message to All:
SI> Can anyone tell me if it's safe to assume that all registers
SI> are zero on entry to a .COM program?
Most definitely not... The segment registers all point to the code segment.
AX, I think (might be another one), has a count of how many parameters are on
the command line (max of 2). I don't remember about the others, but you'll
get different values in different environments. For example, the values
under DEBUG are not the same that they are when running from the DOS prompt.
--Scott.
--- timEd 1.01
---------------
* Origin: Wizard's PC Services, BBS=254-554-2146, Pager=903-3097 (1:395/11)
|