Scc Instruction



This instruction sets all bits in a byte (effective address) if a condition is true, else all bits are cleared.

The conditions can be CC,CS,EQ,GE,GT,HI,LE,LS,LT,MI,NE,PL,VC,VS (for these, check the Bcc instruction for what they mean), SF (always false), ST (always true).

ADDRESS METHODS: Dn, (An), (An)+, -(An), x(An), x(An,xr.s), x.w, x.l

DATA LENGTH: Byte

FLAGS: Unaffected

SYNTAX: Scc <ea>

EXAMPLE CODE:   

    S**    D0    *if ** is true, then all bits in D0.B are set to 1, else to 0