Register-Based Programming 89Appendix B
Register Offset The register offset is the registers location in the block of 64 address bytes.
For example, the switchs Status/Control Register has an offset of 0416.
When you write a command to this register, the offset is added to the base
address to form the register address:
DE0016 + 0416 = DE0416
1FDE0016 + 0416 = 1FDE0416
or
56,832 + 4 = 56,836
2,088,448 + 4 = 2,088,452
Figure B-1. Registers within A16 Address Space
Figure B-2. Registers within the E1406 A16 Address Space
Register Address = Base address + Register Offset
Base Address = COOO
OOOO 16 *
SPACE
ADDRESS
COOO 16
FFFF 16
A16
(49,152)
C000
SPACE
ADDRESS
REGISTER
16
*
16
FFFF
ID Register
A16 REGISTER MAP
E1442A
or
49,152 + (Logical Address 64)
+ (Logical Address 64)
16
*
10
*
16
16-BIT WORDS
Status/Control Register
Device Type Register
CH 0-15 Control Register
CH 16-31 Control Register
CH 32-47 Control Register
CH 48-63 Control Register
3C
3E
14
REGISTER
OFFSET
O4
O2
OO
16
16
16
16
16
16
10
12
16
16
16
16
+ (Logical Address 64)
2,080,768 + (Logical Address 64)
Register Address = Base address + Register Offset
200000
IF0000
000000
Base Address = IFC000
IFOOOO
16
ADDRESS
SPACE
E1406
ADDRESS MAP
FFFFFF
EOOOOO 16
16
A24
16
A16
ADDRESS
SPACE
IFCOOO 16
200000
*
A16 REGISTER MAP
E1442A
Status/Control Register
Device Type Register
(2,080,768)
IFCOOO
or *
O4
O2
OO
10
16
16
16
16 ID Register
CH 48-63 Control Register
CH 32-47 Control Register
CH 16-31 Control Register
CH 0-15 Control Register
SPACE
ADDRESS
REGISTER
200000 16
OFFSET
REGISTER
10
12
14
16
3E
3C
16
16
16
16
16
16
16-BIT WORDS
16
16
16
16 16
*
*