with the flag -bin it prompts me with the erro A2198, and doesn't compile at all.
BTW if I remove the '.startup' directive it compiles fine.
What am I missing?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
Can anybody tell me why if i compile a minimal program like:
with the flag -bin it prompts me with the erro A2198, and doesn't compile at all.
BTW if I remove the '.startup' directive it compiles fine.
What am I missing?
> with the flag -bin it prompts me with the erro A2198, and doesn't compile at all.
The small memory model needs a segment fixup for DGROUP - which the binary format cannot fix.
There are 2 possibilities:
1. change model to ".model tiny"
OR
2. use -mz instead of -bin