Renesas M32R-FPU User Manual

Page of 192
3
3-2
M32R-FPU Software Manual (Rev.1.01)
3.1 Conventions for instruction description
Conventions for instruction description are summarized below.
[Mnemonic]
S h o w s   t h e   m n e m o n i c   a n d   p o s s i b l e   o p e r a n d s   ( o p e r a t i o n   t a r g e t )   u s i n g   a s s e m b l y
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
M
control 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