🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #26768

Re: Megamax inline assembly woes

#26768
From: Peter Taliancich
Date: Mon, 11 May 1987 22:31
23 lines
1100 bytes
The problem that you are having with the move multiple instruction is due
to the fact that register names must be capitalized.  If you capitalize the 
register names your problem will go away. (i.e.

	asm {
			movem.l  D0-D7/A0-A3, -(A7)
	}
)

If you want to use the mnemonic `sp' for the stack pointer then all you 
have to do is to 

#define sp  A7

	asm {
			movem.l D0-D7/A0-A3, -(sp)
	}


peter@megamax

uucp:	{texsun,killer,infotel}!pollux!megamax!peter
voice:	(214) 987-4931
Technical Details
Message-ID: <721@megamax.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ut-sally!ut-ngp!infotel!pollux!megamax!peter
References: <8705030519.AA18707@ucbvax.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!ut-sally!ut-ngp!infotel!pollux!megamax!peter
From: peter@megamax.UUCP (Peter Taliancich)
Newsgroups: comp.sys.atari.st
Subject: Re: Megamax inline assembly woes
Message-ID: <721@megamax.UUCP>
Date: Mon, 11-May-87 18:31:32 EDT
Article-I.D.: megamax.721
Posted: Mon May 11 18:31:32 1987
Date-Received: Fri, 15-May-87 04:13:09 EDT
References: <8705030519.AA18707@ucbvax.Berkeley.EDU>
Reply-To: peter@megamax.UUCP (Peter Taliancich)
Distribution: world
Organization: Megamax, Inc; Dallas, TX
Lines: 23