home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15401 < prev    next >
Encoding:
Internet Message Format  |  1992-11-05  |  976 b 

  1. Path: sparky!uunet!cs.utexas.edu!uwm.edu!spool.mu.edu!agate!doc.ic.ac.uk!uknet!gdt!bsmail!ccsw
  2. From: ccsw@bristol.ac.uk (EthaStorm)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Assembler problem (Macro68)
  5. Message-ID: <1992Nov5.090609.26038@bristol.ac.uk>
  6. Date: 5 Nov 92 09:06:09 GMT
  7. References: <Bx5Ao0.4JJ@unx.sas.com> <1992Nov03.173522.27765@bmerh85.bnr.ca> <1992Nov3.190743.540@news.uit.no>
  8. Organization: University of Bristol, England
  9. Lines: 27
  10.  
  11. In article <1992Nov3.190743.540@news.uit.no> borgen@stud.cs.uit.no (Borge Noest) writes:
  12. >
  13. >Does the following code look good to you?
  14. >
  15. >yes    equ    0
  16. >no    equ    -1
  17. >
  18. >jump    equ    yes
  19. >
  20. >    moveq    #0,d0
  21. >
  22. >    beq    .weee
  23. >
  24. >    if    jump
  25. >.weee    moveq    #1,d1
  26. >    elseif
  27. >.weee    moveq    #2,d1
  28. >    endc
  29. >
  30. >    rts
  31. >
  32.  
  33. You have defined the label '.weee' TWICE. The two labels you have should be
  34. different. It's a bit like calling two places the same name then asking someone
  35. to go the one of the places. Can't be done by a simple processor...
  36.  
  37.    Steff  *8)
  38.