MSDOS Source code leaked
Chuck Guzis
cclist at sydex.com
Thu Oct 12 23:19:07 CDT 2006
On 10/12/2006 at 8:59 PM Steve Thatcher wrote:
>most all the assemblers I have worked with required explicit
>declarations for external. The assembler could certainly assume
>external if not found, but it was not typical.
...and that's why I think MASM 6 and 7 are heads above MASM 5 and its
predecessors.
For instance:
.model small,c
.code
Flip proto Hither:word
Flap proto Yonder:word
Flip proc Hither:word
invoke Flap,Hither
Flip endp
end
"Flap" is automatically assumed to be external. Simplifies life so much...
Cheers,
Chuck
More information about the cctech
mailing list