-> I have already commented on this. In a COM program, code, data,
-> stack must all reside in the same segment.
No, all segment registers are >initialized< to the same segment, but
they can certainly be changed, and it is, in fact, often more convenient
to do so rather than reserve uninitialized data space within your
program. Don't confuse the shortcomings of a particular assembler /
compiler with how the program actually runs when it hits the silicon.
Take care.
** BlahBlahBlahBlahBlahBlahBlahBlahandstillMOREBlah...
--- PCBoard (R) v15.3/M 5
---------------
* Origin: The GameBoard-905.689.3982/9409-Burlington-ON-CA (1:244/506)
|