🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.asm370
Article #772

Re: Does conditional COPY still look for member?

#772
From: "Robert A. Lerche"
Date: Thu, 02 May 1991 22:01
11 lines
1256 bytes
This is an interesting point.  The COPY operation is applied during
pass 1 of an assembly, and simply redirects the input to a SYSLIB member.
Thus, there is no such thing as a "conditional COPY".  A consequence
of this is that a COPY is _not_allowed_ to be generated by MACRO.  If a MACRO
generates a COPY the error "IEV001 ... OPCODE NOT ALLOWED TO BE GENERATED"
results.

(To generate a COPY you have to "trick" the assembler by defining a SETC
symbol to be 'COPY' and using it in the opcode field.  If you just put
a COPY inside a MACRO definition the text of the copied member will be
placed _inside_ the definition.)
Technical Details
Message-ID: <9105022206.AA11217@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!stanford.edu!agate!ucbvax!LINDY.STANFORD.EDU!ralerche

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!stanford.edu!agate!ucbvax!LINDY.STANFORD.EDU!ralerche
From: ralerche@LINDY.STANFORD.EDU ("Robert A. Lerche")
Newsgroups: comp.lang.asm370
Subject: Re: Does conditional COPY still look for member?
Message-ID: <9105022206.AA11217@ucbvax.Berkeley.EDU>
Date: 2 May 91 22:01:52 GMT
Article-I.D.: ucbvax.9105022206.AA11217
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: IBM 370 Assembly Programming Discussion List
              <ASM370@OHSTVMA.BITNET>
Distribution: inet
Organization: The Internet
Lines: 11