🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #3725

Re: a68k macros

#3725
From: Charlie Gibbs
Date: Thu, 31 May 1990 20:53
21 lines
1176 bytes
In article <10005@hydra.gatech.EDU> gt5784a@prism.gatech.EDU
(Walter G. Reynolds (JJ) writes:

>   Does anyone know if there is a way to pass more than 9 parameters
>to macro calls in A68k?  I have the metacompco assembler, and it allows
>up to 15 (an undocumented feature, I think) by using \A through \F.
>
>When I tried to compile my code using a68k, it didn't recognize the
>\A-F parameters.  Charlie?

     Silly me, I didn't realize that those parameter numbers were
supposed to be limited to a single digit.  I whipped up a little
test program using a macro with 20 parameters (\1 through \20) and
it works just fine.  You should be limited only by available memory.
Go nuts!

     I never could figure out how to impose arbitrary restrictions... :-)

Charlie_Gibbs@mindlink.UUCP
"Argue for your limitations, and they're yours."
        -- Richard Bach, Illusions
Technical Details
Message-ID: <1969@mindlink.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!van-bc!rsoft!mindlink!a218

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!van-bc!rsoft!mindlink!a218
From: a218@mindlink.UUCP (Charlie Gibbs)
Newsgroups: comp.sys.amiga.tech
Subject: Re: a68k macros
Message-ID: <1969@mindlink.UUCP>
Date: 31 May 90 20:53:55 GMT
Organization: MIND LINK! - British Columbia, Canada
Lines: 21