Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!lansd From: lansd@utgpu.UUCP Newsgroups: comp.sys.atari.st Subject: MWC questions... Message-ID: <1987Jul26.022934.13134@gpu.utcs.toronto.edu> Date: Sun, 26-Jul-87 02:29:34 EDT Article-I.D.: gpu.1987Jul26.022934.13134 Posted: Sun Jul 26 02:29:34 1987 Date-Received: Sun, 26-Jul-87 05:01:02 EDT Organization: University of Toronto Computing Services Lines: 27 Checksum: 50527 I have a few Mark Williams C related questions: 1) Can the MWC Assembler handle constant labels? My code looked something like: constant = 0x100 . . move.w $constant,d0 yet it spews out the 'o' and 'a' error messages at the 'move.w' instruction. 2) What is the proper way to set up the GULAM gulam.g profile so it will run under MWC? I have moved the MWC profile's setenvs and sets into gulam.g (and took out the equal signs), but compiling a file will bomb out when it gets to the cc0.prg stage (I believe). It reports not being able to find the file D0000000123 (This was an argument to that pass of the compiler), yet the msh handles this argument fine. 3) Can you pass an address of a structure to another procedure? I am using version 1.2 of MWC and it chokes when it gets to a line that contains '&dfn' in it, where 'dfn' is a structure of chars and a union. It works fine on my Z80 Aztec C compiler which is suppose to be fully K&R C. By the way, the compiler says 'lvalue expected' when it sees the '&dfn' line. Any insights into these problems would be much appreciated....