Renesas Renasas Single-Chip Microcomputer SH7086 Instrukcja Użytkownika Strona 62

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 308
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 61
44
3.2 Functions
Chapter 3 Functions
UIOBSZDC
Add & conditional jump
ADdition then Jump on Not Zero
ADJNZ.W #1,R0,label
[ Related Instructions ] SBJNZ
[ Function ]
ADJNZ ADJNZ
[ Syntax ]
ADJNZ.size src,dest,label
[ Flag Change ]
[ Description Example ]
B , W
[ Operation ]
dest dest + src
if dest 0 then jump label
src dest label
R0L/R0 R0H/R1 R1L/R2
R1H/R3 A0/A0 A1/A1
#IMM
*1
[A0] [A1] dsp:8[A0] PC
*2
126 label PC
*2
+129
dsp:8[A1] dsp:8[SB] dsp:8[FB]
dsp:16[A0] dsp:16[A1] dsp:16[SB]
abs16
[ Selectable src/dest/label ]
This instruction adds
dest
and
src
together and stores the result in
dest
.
If the addition resulted in any value other than 0, control jumps to label. If the addition resulted in 0,
the next instruction is executed.
The op-code of this instruction is the same as that of SBJNZ.
*1 The range of values that can be taken on is 8 < #IMM < +7.
*2 PC indicates the start address of the instruction.
148
[ Instruction Code/Number of Cycles ]
Page=
Flag
Change
Przeglądanie stron 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 307 308

Komentarze do niniejszej Instrukcji

Brak uwag