Ayushi Jain
2020-09-18 05:41:45 UTC
However, when writing 16 bit DOS code, I can't figure out how to
indicate the program entry point. You use End ProcName with MASM
and TASM, but NASM doesn't accept this and I can't find any mention
of it in the docs.
*blush* You're absolutely right - I had omitted to put it in theindicate the program entry point. You use End ProcName with MASM
and TASM, but NASM doesn't accept this and I can't find any mention
of it in the docs.
documentation. The feature is in there, though, and I now quote the
extra paragraph that will be added to the OBJ-format section of the
-------------------------------------------------------------------
If the module you're writing is intended to contain the program
entry point, you can declare this by defining the special label
`..start' at the start point, either as a label or by EQU (although
of course the normal caveats about EQU dependency still apply).
-------------------------------------------------------------------
most painful, time consuming, *boring* part of writing a program. I'm just
lucky that in my current job my boss likes (!?) to do the docs for my
programs - welll I'm not going to stop him!
Thanks for the help, anyway...
/----------------------------------------------------------------------\
[Hitman/Code HQ - 6502/68000/80386 & now 65816 (16 bit 6502!) ]
[Assembly Lover since 1987! A bit of C, but don't tell anyone... :-) ]
[OS coding/Hardware hitting/Demos/Games/Modules - c64, Amiga & PC ]
[I'm a pogrammar.. I'm a programor... I'm a progemmar... I write code. ]
\----------------------------------------------------------------------/