Renesas Renasas Single-Chip Microcomputer SH7086 Bedienungsanleitung Seite 67

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 308
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 66
49
3.2 Functions
Chapter 3 Functions
Cnd
Condition
Expression
Cnd
Condition
Expression
GEU/C C=1 Equal to or greater than LTU/NC C=0 Smaller than
C flag is 1. C flag is 0.
EQ/Z Z=1 Equal to = NE/NZ Z=0 Not equal
Z flag is 1. Z flag is 0.
GTU
____
C Z=1 Greater than LEU
____
C Z=0 Equal to or smaller than
PZ S=0 Positive or zero 0 N S=1 Negative 0
GE S O=0 Equal to or greater than LE (S O) Z=1 Equal to or smaller than
(signed value) (signed value)
GT (S O) Z=0
Greater than (signed value)
LT S O=1
Smaller than (signed value)
O O=1 O flag is 1. NO O=0 O flag is 0.
Bit Move Condition
Conditional bit transfer
[ Related Instructions ] J
Cnd
BM
Cnd
BM
Cnd
[ Syntax ]
BM
Cnd
dest
[ Operation ]
if true then dest 1
else dest 0
[ Flag Change ]
[ Selectable dest ]
dest
bit,R0 bit,R1 bit,R2 bit,R3
bit,A0 bit,A1 [A0] [A1]
base:8[A0] base:8[A1] bit,base:8[SB] bit,base:8[FB]
base:16[A0] base:16[A1] bit,base:16[SB]
bit,base:16
C
bit,base:11[SB]
[ Description Example ]
BMN 3,Ram:8[SB]
BMZ C
This instruction transfers the true or false value of the condition indicated by
Cnd
to
dest
. If the
condition is true, 1 is transferred; if false, 0 is transferred.
There are following kinds of
Cnd
.
*1 The flag changes if you specified the C flag for
dest
.
UIOBSZDC
*1
[ Function ]
[ Instruction Code/Number of Cycles ]
Page=
154
Change
Flag
A
A
A
A
Seitenansicht 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 307 308

Kommentare zu diesen Handbüchern

Keine Kommentare