[comp.sys.ibm.pc] Bug in MASM 4.0

bright@dataio.Data-IO.COM (Walter Bright) (07/22/87)

I just got bit by a really nasty bug in MASM 4.0. If you assemble with
the /ML switch (which means preserve case sensitivity), the code
	fninit
assembles incorrectly to:
	9B DB E3
instead of:
	DB E3
like it does without the /ML switch! What's going on here?
(The 9B is the FWAIT instruction, basically causing 8088 machines to
hang if they don't have an 8087 installed.)

I do a lot of 8087 assembly code, and seem to be forced to do more and
more of it with DB's. Again I am reduced to making a macro:

fninit	macro
	db	0DBh,0E3h
	endm

as with most of the other fnxxxx mnemonics. Why doesn't MASM support
ALL the fnxxxx mnemonics, instead of just a handful? It's hard to
take advantage of the parallelism available without full use of fnxxxx.

Gripe, gripe,... sigh,