|
|
Am 20.05.2011 10:12, schrieb Invisible:
>> A COM file is raw machine code without any headers, at least on CP/M. A
>> COM file was executed by reading it into 0x100 and branching to 0x100.
>
> That appears to be the case for MS-DOS as well. (I know gasm has a "COM
> output" option which appears to match this description.)
I'm not exactly sure, but AFAIR the MS-DOS COM files had a small header
before the actual code. (That one was simply copied into memory as well
though.)
MS-DOS also didn't place COM files at address 0x100, but rather at a
fixed offset in an arbitrary segment.
Post a reply to this message
|
|