LF: new commands


[Prev][Next][Index][Thread]

LF: new commands




There is a concise list of assembly language mnemonics in the last
link of 68000 pointers on Tim Gerla's page.

In that listing they give "Bcc" as conditional branch

A couple pages down they say:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           Condition Codes set after CMP D0,D1 Instruction.

Relationship      Unsigned                         Signed
------------      --------                         ------

D1 <  D0          CS - Carry Bit Set               LT - Less Than
D1 <= D0          LS - Lower or Same               LE - Less than or Equal
D1  = D0          EQ - Equal (Z-bit Set)           EQ - Equal (Z-bit Set)
D1 != D0          NE - Not Equal (Z-bit Clear)     NE - Not Equal (Z-bit Clear)
D1 >  D0          HI - HIgher than                 GT - Greater Than
D1 >= D0          CC - Carry Bit Clear             GE - Greater than or Equal

                  PL - PLus (N-bit Clear)          MI - Minus (N-bit Set)
                  VC - V-bit Clear (No Overflow)   VS - V-bit Set (Overflow)
                  RA - BRanch Always
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

So, you have BCS,BLS,BEQ,BNE,BHI,BCC,BPL,BVC,BRA,BLT,BLE,BEQ,BNE,BGT,BGE,
             BMI,BVS

I told my girlfriend that my calculator has "bra" and "dbra" instructions,
but she said I was still a geek...

-Kevin
khuber@mr.net


References: