Motorola CPU32 Reference Manual page 189

Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

Scc
Operation:
Assembler
Syntax:
Attributes:
Description:
bits in the byte specified to 1 (TRUE). Otherwise, clears all bits to 0 (FALSE). Condi-
tion code cc specifies one of the following conditions:
cc
Name
CC
Carry Clear
CS
Carry Set
EQ
Equal
F
Never equal
GE
Greater or Equal
GT
Greater Than
HI
High
LE
Less or Equal
Condition Codes:
Not affected.
Instruction Format:
15
14
13
0
1
0
CPU32
REFERENCE MANUAL
Set According to Condition Code
If Condition True
then set Destination
else clear Destination
Scc 〈ea〉
Size = (Byte)
Tests the specified condition code. If the condition is true, sets all
Code
Description
0100
C
0101
C
0111
Z
0001
0
N • V; N • V
1100
1110 N • V • Z; N • V • Z
C • Z
0010
Z; N • V; N • V
1111
12
11
10
9
1
CONDITION
INSTRUCTION SET
cc
Name
LS
Low or Same
LT
Less Than
MI
Minus
N
Not Equal
E
PL
Plus
T
Always true
V
Overflow Clear
C
VS
Overflow Set
8
7
6
5
1
1
Scc
Code
Description
0011
C; Z
N • V; N • V
1101
1011
N
0110
Z
1010
N
0000
1
1000
V
1001
V
4
3
2
1
EFFECTIVE ADDRESS
MODE
REGISTER
MOTOROLA
0
4-141

Advertisement

Table of Contents
loading

Table of Contents