home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / amiga / programm / 12363 < prev    next >
Encoding:
Internet Message Format  |  1992-08-16  |  1.3 KB

  1. Path: sparky!uunet!wupost!darwin.sura.net!Sirius.dfn.de!chx400!forty2!amiga!cschneid
  2. From: cschneid@amiga.physik.unizh.ch (Christian Schneider)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Is this legal assembly code?
  5. Message-ID: <2329@forty2.physik.unizh.ch>
  6. Date: 16 Aug 92 11:51:08 GMT
  7. References: <1992Aug11.122845.15395@mits.mdata.fi> <1992Aug11.140600.19866@mpifr-bonn.mpg.de>
  8. Sender: news@forty2.physik.unizh.ch
  9. Organization: ICU - University of Zurich, Dept. of Comp. Sci.
  10. Lines: 27
  11.  
  12. >In <1992Aug11.122845.15395@mits.mdata.fi> rkaivola@mits.mdata.fi (Risto Kaivola) writes:
  13. >  I would like to know if the following assembly language program is
  14. >legal or illegal:
  15. >
  16. >       IFEQ label1-label2
  17. >       rts
  18. >       ENDC
  19. >
  20. >       rts
  21. >label1
  22. >       move.l a0,a0
  23. >label2 rts
  24. >       END
  25.  
  26. This is indeed an interesting case.
  27. All assemblers I tried refused it. They don't like forward references
  28. for conditional assembly ;-)
  29.  
  30. I tried it with: Macro68, DevPac, ArgAsm and another assembler I beta-test.
  31.  
  32. I don't think you really have to support this ;-)
  33.  
  34. - Chris
  35. -- 
  36. Chris Schneider - cschneid@amiga.physik.unizh.ch BIX: hschneider IRC: cschneid
  37. The goal of science is to build better mousetraps. The goal of nature is to
  38. build better mice. - Human beings were created by water to transport it uphill.
  39.