Path: utzoo!censor!geac!torsqnt!lethe!yunexus!ists!helios.physics.utoronto.ca!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!warwick!covpoly!csg019 From: csg019@cck.cov.ac.uk (-~=Zaphod=~-) Newsgroups: comp.sys.amiga Subject: Re: 68k asm question Message-ID: <1991Jan8.154244.28722@cck.cov.ac.uk> Date: 8 Jan 91 15:42:44 GMT References: <1991Jan2.104349.45968@cc.usu.edu> Organization: Coventry Polytechnic, Coventry, UK Lines: 21 In article <1991Jan2.104349.45968@cc.usu.edu> sl195@cc.usu.edu (A banana is not a toy) writes: >I've been writing 68k code using SAS/C5.1's asm. The description in the >manuals describe this as using the standard Motorola formats for the >code, but I've not been able to get this to compile: > > MOVE.W #0(A0,D0),D2 > MOVE.W #0(A0,D1),D3 You nearly cracked it youself, you dont need the #'s so it becomes: MOVE.W 0(A0,D0),D2 MOVE.W 0(A0,D0),d3 Come to think of it you dont need the 0 before the brackets. Hope this helps. -- *********/// O O **A member of S.H.I.T. (Super High Intelegence Team)**///*** * /// u Fight, defeat and kill organized laming. /// * * \\\ /// --- Zaphod (TCC) csg019@uk.ac.cov.cck ok? \\\ /// * ****\\X//**********************************************************\\X//******