Omron FQM1-CM001 Home Security System User Manual


 
275
Programming Appendix A
Text string Text string data is stored in ASCII
(one byte except for special charac-
ters) in order from the leftmost to the
rightmost byte and from the right-
most (lower) to the leftmost word.
00 hex (NUL code) is stored in the
rightmost byte of the last word if
there is an odd number of charac-
ters.
0000 hex (2 NUL codes) is stored in
the leftmost and rightmost vacant
bytes of the last word + 1 if there is
an even number of characters.
---
ASCII characters that can be used in a text string includes alphanumeric characters, Katakana and sym-
bols (except for special characters). The characters are shown in the following table.
Data Operand Data form Symbol Range Application example
'ABCDE'
'A' 'B'
'C'
'D'
'E'
NUL
41
42
43
44
45
00
'ABCD'
'A'
'B'
'C'
'D'
NUL
NUL
41
42
43
44
00
00
Upper 4 bits
Lower 4 bits