EasyManua.ls Logo

Inovance H3U Series - The String

Inovance H3U Series
737 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
239
4
4 Instructions 4.6.4 Matrix Rotation and Shift
Total number
of characters
Number of characters
in the fractional part
16-bit BIN data
Changed to 20H (space)
8
1
-123
- 12.3
The string after conversion is appended with 00H to indicate the end of the string.
When the total number of characters is even, 0000H is stored in the element after the one that stores
the last character. When the total number of characters is odd, 00H is stored in the higher byte (eight
bits) of the element that stores the last character.
2. 32-bit operation (DSTR and DSTRP)
A decimal point is inserted into the 32-bit BIN number in [S2+1, S2] to convert it to a string. The
position of insertion is specied collectively by [S1] (which indicates the total number of characters) and
[S1+1] (which indicates the number of characters in the fractional part). The result is stored in elements
from head address [D].
DSTR S1 S2 D
Total number
of characters
S1
Number of characters
in the fractional part
S1+1
Higher
16 bits
S2
.
Sign
D
D+1
D+2
b7-----b0
D+3
b15-----b8
D+5
0000H
Automatically stored at the end of the string
Lower
16 bits
32-bit data
D+4
ASCII code of the (total character
count minus 1)th character
ASCII code of the (total character
count minus 3)th character
ASCII code of the (total character
count minus 5)th character
ASCII code of the (total character
count minus 7)th character
ASCII code of the (total character
count minus 9)th character
ASCII code of the sign
ASCII code of the (total character
count minus 2)th character
ASCII code of the (total character
count minus 4)th character
ASCII code of the (total character
count minus 6)th character
ASCII code of the (total character
count minus 8)th character
ASCII code of the (total character
count minus 10)th character
8
S1
3
S1+1
-654321
32-bit
.
36H(6)
34H(4)
33H(3)
D
D+1
D+2
b7---b0
2DH(-)
35H(5)
2EH(.)
b15--b8
Automatically stored at the end of the string
1
3
5
4
-6
2
31H(1)
D+3
32H(2)
0000H
D+4
The value in [S1] ranges from 2 to 13.
The value in [S1+1] ranges from 0 to 10. The value in [S1+1] must be less than or equal to the value in
[S1] minus 3.
The 32-bit BIN number ranges from –2,147,483,648 to +2,147,483,647.
The string after conversion is stored in elements from head address [D].

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals