home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- 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
- From: leikvoll@hsr.no (Morten Leikvoll)
- Subject: Re: Assembler problem (Macro68)
- Message-ID: <1992Nov6.095842.16353@hsr.no>
- Sender: news@hsr.no
- Organization: Rogaland University Centre
- References: <Bx5Ao0.4JJ@unx.sas.com> <1992Nov03.173522.27765@bmerh85.bnr.ca> <1992Nov3.190743.540@news.uit.no> <1992Nov5.090609.26038@bristol.ac.uk>
- Date: Fri, 6 Nov 1992 09:58:42 GMT
- Lines: 32
-
-
- In article <1992Nov3.190743.540@news.uit.no> borgen@stud.cs.uit.no (Borge Noest) writes:
- >
- >Does the following code look good to you?
- >
- >yes equ 0
- >no equ -1
- >
- >jump equ yes
- >
- > moveq #0,d0
- >
- > beq .weee
- >
- *> if jump
- *>.weee moveq #1,d1
- *> elseif
- *>.weee moveq #2,d1
- *> endc
- >
- > rts
- >
-
- This should work, (if any help):
-
- .weee if jump
- moveq #1,d1
- elseif
- moveq #2,d1
- endc
-
- -Morten Leikvoll / leikvoll@hsr.no (Is it short enough?)
-