IF cc = 1 THEN [destination] ← 111111112
ELSE [destination] ← 000000002
Scc <ea>
Size
byte
The specified condition code is tested. If the condition is true, the bits at the effective address are all set to one (i.e., $FF). Otherwise, the bits at the effective address are set to zeros (i.e., $00).
Mnemonic | Description | Condition |
---|---|---|
SCC |
set on carry clear | C̅ |
SCS |
set on carry set | C |
SEQ |
set on equal | Z |
SGE |
set on greater than or equal | N.V + N̅.V̅ |
SGT |
set on greater than | N.V.Z̅ + N̅.V̅.Z̅ |
SHI |
set on higher than | C̅.Z̅ |
SLE |
set on less than or equal | Z + N.V̅ + N̅.V |
SLS |
set on lower than or same | C + Z |
SLT |
set on less than | N.V̅ + N̅.V |
SMI |
set on minus (i.e., negative) | N |
SNE |
set on not equal | Z̅ |
SPL |
set on plus (i.e., positive) | N̅ |
SVC |
set on overflow clear | V̅ |
SVS |
set on overflow set | V |
SF |
set on false (i.e., set never) | 0 |
ST |
set on true (i.e., set always) | 1 |
X | N | Z | V | C |
---|---|---|---|---|
- | - | - | - | - |
Dn | An | (An) | (An)+ | ‑(An) | (d,An) | (d,An,Xi) | ABS.W | ABS.L | (d,PC) | (d,PC,Xn) | imm |
---|---|---|---|---|---|---|---|---|---|---|---|
✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
From MOTOROLA M68000 FAMILY Programmer's reference manual. Copyright 1992 by Motorola Inc./NXP. Adapted with permission.