Renesas M32R-FPU Stereo System User Manual


 
3
3-2
M32R-FPU Software Manual (Rev.1.01)
3.1 Conventions for instruction description
Conventions for instruction description are summarized below.
[Mnemonic]
Shows the mnemonic and possible operands (operation target) using assembly
language notation.
Table 3.1.1 Operand list
symbol(see note) addressing mode operation target
R register direct general-purpose registers (R0 - R15)
CR control register Mcontrol registers (CR0 = PSW, CR1 = CBR, CR2 = SPI,
CR3 = SPU, CR6 = BPC, CR7 = FPSR)
@R register indirect memory specified by register contents as address
@(disp,R) register relative memory specified by (register contents) + (sign-extended value of
indirect 16-bit displacement) as address
@R+ register indirect and Add 4 to register contents. (Register contents specify the memory
register update address, then 4 is added to the contents.)
@+R register indirect and Add 4 to register contents. (4 is added to the register contents,
register update then the register contents specify the memory address.)
@-R register indirect and Subtract 4 to register contents. (4 is subtract to the register
register update contents, hen the register contents specify the memory address.)
#imm immediate immediate value (refer to each instruction description)
#bitpos Bit position Contents of byte data bit position
pcdisp PC relative memory specified by (PC contents) + (8, 16, or 24-bit displacement
which is sign-extended to 32 bits and 2 bits left-shifted) as address
Note: When expressing Rsrc or Rdest as an operand, a general-purpose register numbers (0 - 15) should be
substituted for src or dest. When expressing CRsrc or CRdest, control register numbers (0 - 3, 6, 7)
should be substituted for src or dest.
[Function]
Indicates the operation performed by one instruction. Notation is in accordance with C
language notation.
Table 3.1.2 Operation expression (operator)
operator meaning
+ addition (binomial operator)
- subtraction (binomial operator)
multiplication (binomial operator)
/ division (binomial operator)
% remainder operation (binomial operator)
++ increment (monomial operator)
-- decrement (monomial operator)
INSTRUCTIONS
3.1 Conventions for instruction description