Download Print this page

Conventions For Instruction Description - Renesas M32R-FPU Software Manual

32-bit risc single-chip microcomputer

Advertisement

3

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)
register direct
R
control register
CR
register indirect
@R
register relative
@(disp,R)
indirect
register indirect and
@R+
register update
register indirect and
@+R
register update
register indirect and
@-R
register update
immediate
#imm
Bit position
#bitpos
PC relative
pcdisp
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
+
-
/
%
++
--
addressing mode
operation target
general-purpose registers (R0 - R15)
control registers (CR0 = PSW, CR1 = CBR, CR2 = SPI,
M
CR3 = SPU, CR6 = BPC, CR7 = FPSR)
memory specified by register contents as address
memory specified by (register contents) + (sign-extended value of
16-bit displacement) as address
Add 4 to register contents. (Register contents specify the memory
address, then 4 is added to the contents.)
Add 4 to register contents. (4 is added to the register contents,
then the register contents specify the memory address.)
Subtract 4 to register contents. (4 is subtract to the register
contents, hen the register contents specify the memory address.)
immediate value (refer to each instruction description)
Contents of byte data bit position
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
meaning
addition (binomial operator)
subtraction (binomial operator)
multiplication (binomial operator)
division (binomial operator)
remainder operation (binomial operator)
increment (monomial operator)
decrement (monomial operator)
3.1 Conventions for instruction description
3-2
M32R-FPU Software Manual (Rev.1.01)
INSTRUCTIONS

Advertisement

loading