home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!darwin.sura.net!Sirius.dfn.de!chx400!forty2!amiga!cschneid
- From: cschneid@amiga.physik.unizh.ch (Christian Schneider)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Is this legal assembly code?
- Message-ID: <2329@forty2.physik.unizh.ch>
- Date: 16 Aug 92 11:51:08 GMT
- References: <1992Aug11.122845.15395@mits.mdata.fi> <1992Aug11.140600.19866@mpifr-bonn.mpg.de>
- Sender: news@forty2.physik.unizh.ch
- Organization: ICU - University of Zurich, Dept. of Comp. Sci.
- Lines: 27
-
- >In <1992Aug11.122845.15395@mits.mdata.fi> rkaivola@mits.mdata.fi (Risto Kaivola) writes:
- > I would like to know if the following assembly language program is
- >legal or illegal:
- >
- > IFEQ label1-label2
- > rts
- > ENDC
- >
- > rts
- >label1
- > move.l a0,a0
- >label2 rts
- > END
-
- This is indeed an interesting case.
- All assemblers I tried refused it. They don't like forward references
- for conditional assembly ;-)
-
- I tried it with: Macro68, DevPac, ArgAsm and another assembler I beta-test.
-
- I don't think you really have to support this ;-)
-
- - Chris
- --
- Chris Schneider - cschneid@amiga.physik.unizh.ch BIX: hschneider IRC: cschneid
- The goal of science is to build better mousetraps. The goal of nature is to
- build better mice. - Human beings were created by water to transport it uphill.
-