Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!genrad!panda!talcott!harvard!seismo!mcvax!ukc!kcl-cs!phil From: phil@kcl-cs.UUCP (Phil Thompson) Newsgroups: net.micro.pc,net.micro Subject: Microsoft Assembler (Bug?) Message-ID: <231@argon.kcl-cs.UUCP> Date: Wed, 22-Jan-86 11:25:54 EST Article-I.D.: argon.231 Posted: Wed Jan 22 11:25:54 1986 Date-Received: Sun, 26-Jan-86 05:30:25 EST Organization: Department of Computing, Kings College, University of London. Lines: 35 Xref: watmath net.micro.pc:6683 net.micro:13602 I think that the following should assemble without problems: PUBLIC foo foo PROC NEAR . . . mov [si],OFFSET bar . . . foo ENDP bar PROC NEAR . . . bar ENDP All of this being in the code segment of course. The error message from MASM is: error 35: Operand must have size This happens with both V3.0 and V4.0 of MASM. Is this a bug and how do I get around it? Incidentally I remember quite a bit of discussion about the assembler output produced by the Microsoft C Compiler (V3.0) when using the /Fa switch. As far as I can remember the concenus was that you had to use MASM V3.0 to assemble it. However I can get the compiler to produce the above code which, as I say, doesn't assemble. Thanks for ANY help. Phil Thompson.