RX610 Group
2. CPU
R01UH0032EJ0120 Rev.1.20
Page 67 of 1006
Feb 20, 2013
The floating-point format supports the values listed below.
•
0 < E < 255 (normal numbers)
•
E = 0 and F = 0 (signed zero)
•
E = 0 and F > 0 (denormalized numbers)
Note: The number is treated as 0 when the DN bit in the FPSW is 1. When the DN bit is 0, an un-implemented
processing exception is generated.
•
E = 255 and F = 0 (infinity)
•
E = 255 and F > 0 (NaN: Not-a-Number)
2.4.3
Bitwise Operations
Five bit-manipulation instructions are provided for bitwise operations: BCLR, BM
Cnd
, BNOT, BSET, and BTST.
A bit in a register is specified as the destination register and a bit number in the range from 31 to 0.
A bit in memory is specified as the destination address and a bit number from 7 to 0. The addressing modes available to
specify addresses are register indirect and register relative.
Register
b31
b0
#bit, Rn
(bit: 31 to 0, n: 0 to 15)
b7
b0
#bit, mem
(bit: 7 to 0)
Memory
Example
Example
#30,R1 (register R1, bit 30)
#2,[R2] (address [R2], bit 2)
Figure 2.4 Bit
2.4.4
Strings
The string data type consists of an arbitrary number of consecutive byte (8-bit), word (16-bit), or longword (32-bit) units.
Seven string manipulation instructions are provided for use with strings: SCMPU, SMOVB, SMOVF, SMOVU, SSTR,
SUNTIL, and SWHILE.
String of byte (8-bit) data
8
String of word (16-bit) data
16
String of longword (32-bit) data
32
Figure 2.5 String