HD6417320 RENESAS [Renesas Technology Corp], HD6417320 Datasheet - Page 117

no-image

HD6417320

Manufacturer Part Number
HD6417320
Description
Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
(4)
The result of a comparison is indicated by the T bit in the status register (SR), and a conditional
branch is performed according to whether the result is True or False. Processing speed has been
improved by keeping the number of instructions that modify the T bit to a minimum.
(5)
Byte literal constant is placed inside the instruction code as immediate data. Since the instruction
length is fixed to 16 bits, word and longword literal constant is not placed inside the instruction
code, but in a table in memory. The table in memory is referenced with a MOV instruction using
PC-relative addressing mode with displacement.
(6)
When data is referenced by absolute address, the absolute address value is placed in a table in
memory beforehand as well as word or longword literal constant. Using the method whereby
immediate data is loaded when an instruction is executed, this value is transferred to a register and
the data is referenced using register indirect addressing mode.
(7)
When data is referenced with a 16- or 32-bit displacement, the displacement value is placed in a
table in memory beforehand. Using the method whereby word or longword immediate data is
loaded when an instruction is executed, this value is transferred to a register and the data is
referenced using indexed register indirect addressing mode.
Example:
ADD
to
Example:
T Bit
Literal Constant
Absolute Addresses
16-Bit/32-Bit Displacement
ADD
CMP/EQ
BT
MOV.W
#1, R0
#0, R0
TARGET
@(disp, PC), R0
1 (R0=0).
; The T bit cannot be modified by the
instruction
; The T bit is set to 1 if R0 is 0.
; Branch to TARGET if the T bit is set
Rev. 3.00 Jan. 18, 2008 Page 55 of 1458
REJ09B0033-0300
Section 2
CPU

Related parts for HD6417320