Chapter 4
Data File Organization and Addressing
4–12
Data File 7 - Integer
These are 1-word elements, addressable at the element and bit level.
N7:0 0
N7:1 495
N7:2 0
N7:3 66
Element 1 has a
decimal value of 495.
Element 3 has a
decimal value of 66.
Address
Data
Assign integer addresses as follows:
Format
Explanation
N
Integer file
Nf:e/b
f
File number. Number 7 is the default file. A file number between 10 - 255
can be used if additional storage is required.
:
Element delimiter
e
Element
number
Ranges from 0 to 255. These are 1word elements.
16 bits per element.
/
Bit delimiter
b
Bit number
Bit location within the element. 0 to 15
Examples:
N7:2
Element 2, integer file 7
N7:2/8
Bit 8 in element 2, integer file 7
N10:36
Element 36, integer file 10 (you designate file 10 as an integer file)