🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #5443

Re: Microsoft Assembler (Bug?)

#5443
From: dan o'brien
Date: Sat, 01 Feb 1986 14:41
25 lines
1125 bytes
> >I think that the following should assemble without problems:
> >PUBLIC	foo
> >foo	PROC NEAR
> >	mov	[si],OFFSET bar
> >foo	ENDP
...
> >	error 35: Operand must have size
> 
> The only work-around I found was:
> 	mov	[si],Word Ptr (OFFSET bar)
> which looks funny, but assembles correctly.  The parentheses are 
> necessary, as: 
...

Won't this work?

		mov	word ptr [si],OFFSET bar

-- 

			Daniel M. O'Brien (ihnp4!ihmax!dob)
			AT&T Bell Laboratories
			IH 4A-257, x 4782
			Naperville-Wheaton Road
			Naperville, IL 60566
Technical Details
Message-ID: <8@ihmax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!ihmax!dob
References: <231@argon.kcl-cs.UUCP> <194@sagan.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84 exptools; site ihmax.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!ihmax!dob
From: dob@ihmax.UUCP (dan o'brien)
Newsgroups: net.micro.pc,net.micro
Subject: Re: Microsoft Assembler (Bug?)
Message-ID: <8@ihmax.UUCP>
Date: Sat, 1-Feb-86 09:41:31 EST
Article-I.D.: ihmax.8
Posted: Sat Feb  1 09:41:31 1986
Date-Received: Mon, 3-Feb-86 06:31:50 EST
References: <231@argon.kcl-cs.UUCP> <194@sagan.UUCP>
Organization: AT&T Bell Laboratories
Lines: 25