Auto Page CPX-3600 Specifikace Strana 181

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 243
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 180
ST72321xx-Auto Instruction set
Doc ID 13829 Rev 1 181/243
18.1.7 Relative (direct, indirect)
This addressing mode is used to modify the PC register value, by adding an 8-bit signed
offset to it.
The relative addressing mode consists of two submodes:
Relative (direct)
The offset is following the opcode.
Relative (indirect)
The offset is defined in memory, which address follows the opcode.
18.2 Instruction groups
The ST7 family devices use an Instruction Set consisting of 63 instructions. The instructions
may be subdivided into 13 main groups as illustrated in the following table:
Short instructions only
CLR Clear
INC, DEC Increment/Decrement
TNZ Test Negative or Zero
CPL, NEG 1 or 2 Complement
BSET, BRES Bit Operations
BTJT, BTJF Bit Test and Jump Operations
SLL, SRL, SRA, RLC, RRC Shift and Rotate Operations
SWAP Swap Nibbles
CALL, JP Call or Jump subroutine
Table 100. Instructions supporting direct, indexed, indirect, and indirect indexed
addressing modes (continued)
Type Instruction Function
Table 101. Available relative direct/indirect instructions
Instruction Function
JRxx Conditional Jump
CALLR Call Relative
Table 102. Instruction groups
Group Instructions
Load and Transfer LD CLR
Stack operation PUSH POP RSP
Increment/Decrement INC DEC
Compare and Tests CP TNZ BCP
Zobrazit stránku 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 242 243

Komentáře k této Příručce

Žádné komentáře