Skip to content

MASM: use MASM 6 EXTERN spelling#154

Draft
MisterDA wants to merge 1 commit intotrunkfrom
masm-6-extern
Draft

MASM: use MASM 6 EXTERN spelling#154
MisterDA wants to merge 1 commit intotrunkfrom
masm-6-extern

Conversation

@MisterDA
Copy link
Owner

@MisterDA MisterDA commented Nov 20, 2025

EXTERN is a modern (MASM 6, 1991) alternative to MASM 5 (1987) EXTRN directive.
In C++, C, and Assembler, see EXTRN and EXTERN.

See also from The Art of Assembly Language Programming, Randall Hyde, 1996:

EXTRN is an older directive that is a synonym for EXTERN. It provides compatibility with old source files. You should always use the EXTERN directive in new source code.

This patch is a requirement to make OCaml count as new source code and be ready for a next century of MASM hacking.
(this patch is cosmetic, no incidence on produced code). No change entry needed.

`EXTERN` is a modern (MASM 6, 1991) alternative to MASM 5 `EXTRN`
directive.

https://learn.microsoft.com/en-us/cpp/assembler/masm/extrn?view=msvc-180

> `EXTRN` is an older directive that is a synonym for `EXTERN`. It
> provides compatibility with old source files. You should always use
> the `EXTERN` directive in new source code.

From "The Art of Assembly Language Programming", Randall Hyde, 1996
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant