ST72T331 STMICROELECTRONICS [STMicroelectronics], ST72T331 Datasheet - Page 88
ST72T331
Manufacturer Part Number
ST72T331
Description
8-BIT MCU WITH 8 TO 16K OTP/EPROM, 256 EEPROM, 384 TO 512 BYTES RAM, ADC, WDG, SCI, SPI AND 2 TIMERS
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
1.ST72T331.pdf
(107 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST72T331N2
Manufacturer:
ST
Quantity:
20 000
ST72E331 ST72T331
ST7 ADDRESSING MODES (Cont’d)
6.1.6 Indirect Indexed (Short, Long)
This is a combination of indirect and short indexed
addressing modes. The operand is referenced by
its memory address, which is defined by the un-
signed addition of an index register value (X or Y)
with a pointer value located in memory. The point-
er address follows the opcode.
The indirect indexed addressing mode consists of
two sub-modes:
Indirect Indexed (Short)
The pointer address is a byte, the pointer size is a
byte, thus allowing 00 - 1FE addressing space,
and requires 1 byte after the opcode.
Indirect Indexed (Long)
The pointer address is a byte, the pointer size is a
word, thus allowing 64 Kbyte addressing space,
and requires 1 byte after the opcode.
Table 23. Instructions Supporting Direct,
Indexed,
Addressing Modes
88/107
88
Short Instructions Only
LD
CP
AND, OR, XOR
ADC, ADD, SUB, SBC
BCP
CLR
INC, DEC
TNZ
CPL, NEG
BSET, BRES
BTJT, BTJF
SLL, SRL, SRA, RLC,
RRC
Long and Short
Instructions
Indirect
and
Clear
Increment/Decrement
Test Negative or Zero
1 or 2 Complement
Bit Operations
Bit Test and Jump Opera-
tions
Shift and Rotate Operations
Load
Compare
Logical Operations
Arithmetic Addition/subtrac-
tion operations
Bit Compare
Indirect
Function
Function
Indexed
6.1.7 Relative Mode (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 sub-
modes:
Relative (Direct)
The offset follows the opcode.
Relative (Indirect)
The offset is defined in memory, of which the ad-
dress follows the opcode.
Available Relative Direct/
SWAP
CALL, JP
JRxx
CALLR
Indirect Instructions
Swap Nibbles
Call or Jump subroutine
Conditional Jump
Call Relative
Function