home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18301 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.6 KB  |  36 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!gatech!news.byu.edu!ux1!fcom.cc.utah.edu!val
  3. From: val@news.ccutah.edu (Val Kartchner)
  4. Subject: 680x0 Branch Instructions?
  5. Message-ID: <1993Jan7.184445.25823@fcom.cc.utah.edu>
  6. Sender: news@fcom.cc.utah.edu
  7. Organization: University of Utah Computer Center
  8. X-Newsreader: Tin 1.1 PL3
  9. Date: Thu, 7 Jan 93 18:44:45 GMT
  10. Lines: 24
  11.  
  12. I program in 680x0 assembly language from time to time.  I will soon be
  13. programming some routines in assembly language again soon.  I need help
  14. on the meaning and practical usage of the less common branch instructions.
  15. I know what the eight common ones do.  (BRA, BSB, BLS, BLE, BEQ, BNE, BGE,
  16. BGT)  I think that four of the others are used for branches based on
  17. unsigned compares, but I'm not sure which ones.  (BCS, BCC, BPL, BMI?)
  18. What practical use are the other four branch instructions?
  19.  
  20. Would an assembly guru be willing to confirm this usage and/or correct it
  21. as well as provide practical examples (short) of using all of the branch
  22. instructions? (C-like pseudo-code is prefered, but Pascal-like would be
  23. fine.)
  24.  
  25.             Thanks in advance,
  26.                 -=:[ VAL ]:=-
  27.  
  28. P.S.: I can figure it out (as I usually do), but I would like confirmation.
  29.  
  30. P.P.S.: I probably got several of the mneumonics wrong.  Please correct.
  31. --
  32. |================== #include <disclaimer.h> ==================///=============|
  33. | "AMIGA: The computer for the creative mind" (tm) Commodore /// Weber State  |
  34. | "Macintosh: The computer for the rest of us"(tm) Apple \\\///   University  |
  35. |== "I think, therefore I AMiga" -- val@csulx.weber.edu ==\///= Ogden UT USA =|
  36.