Renesas Renasas Single-Chip Microcomputer SH7086 Manual de usuario Pagina 98

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 308
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 97
80
Chapter 3 Functions
3.2 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.
Jump on Condition
Jump on condition
[ Syntax ]
J
Cnd
label
[ Selectable label ]
[ Description Example ]
JEQ label
JNE label
[ Related Instructions ] BM
Cnd
[ Function ]
[ Operation ]
if true then jump label
J
Cnd
[ Flag Change ]
label
Cnd
PC
*1
127 label PC
*1
+128 GEU/C,GTU,EQ/Z,N,LTU/NC,LEU,NE/NZ,PZ
PC
*1
126 label PC
*1
+129 LE,O,GE,GT,NO,LT
UIOBSZDC
*1 PC indicates the start address of the instruction.
J
Cnd
[ Instruction Code/Number of Cycles ]
Page=
184
This instruction causes program flow to branch off after checking the execution result of the preceding
instruction against the following condition. If the condition indicated by
Cnd
is true, control jumps to
label. If false, the next instruction is executed.
The following conditions can be used for
Cnd
:
Flag
Change
A
A
A
A
Vista de pagina 97
1 2 ... 93 94 95 96 97 98 99 100 101 102 103 ... 307 308

Comentarios a estos manuales

Sin comentarios