home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15482 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.1 KB  |  44 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!gmd.de!Germany.EU.net!mcsun!sunic!ugle.unit.no!alf.uib.no!hsr.no!leikvoll
  3. From: leikvoll@hsr.no (Morten Leikvoll)
  4. Subject: Re: Assembler problem (Macro68)
  5. Message-ID: <1992Nov6.095842.16353@hsr.no>
  6. Sender: news@hsr.no
  7. Organization: Rogaland University Centre
  8. References: <Bx5Ao0.4JJ@unx.sas.com> <1992Nov03.173522.27765@bmerh85.bnr.ca> <1992Nov3.190743.540@news.uit.no> <1992Nov5.090609.26038@bristol.ac.uk>
  9. Date: Fri, 6 Nov 1992 09:58:42 GMT
  10. Lines: 32
  11.  
  12.  
  13.  In article <1992Nov3.190743.540@news.uit.no> borgen@stud.cs.uit.no (Borge Noest) writes:
  14.  >
  15.  >Does the following code look good to you?
  16.  >
  17.  >yes    equ    0
  18.  >no    equ    -1
  19.  >
  20.  >jump    equ    yes
  21.  >
  22.  >    moveq    #0,d0
  23.  >
  24.  >    beq    .weee
  25.  >
  26. *>    if    jump
  27. *>.weee    moveq    #1,d1
  28. *>    elseif
  29. *>.weee    moveq    #2,d1
  30. *>    endc
  31.  >
  32.  >    rts
  33.  >
  34.  
  35. This should work, (if any help):
  36.  
  37.  .weee    if    jump
  38.      moveq    #1,d1
  39.      elseif
  40.      moveq    #2,d1
  41.      endc
  42.  
  43. -Morten Leikvoll / leikvoll@hsr.no (Is it short enough?)
  44.