CL-PD6833
PCI-to-CardBus Host Adapter
The CL-PD6833 has Extension registers that add to the functionality of the 82365SL-compatible register
set. Within the Extension registers is an Extended Index register and Extended Data register that provide
access to more registers. The registers accessed through Extended Index and Extended Data are thus
double-indexed. The example below shows how to access the Extension Control 1 register, one of the dou-
ble-indexed registers.
;Write to Extension Control 1 register example
;Constants section
Extended_Index EQU 2Eh
Index_Reg
EQU 2Fh
Ext_Cntrl_1 EQU 03h
I/O_Base_AddressEQU XXX
;The base I/O address for the CL-PD6833
;should be obtained through PCI BIOS.
;Code section
mov dx, I/O_Base_Address
mov al, Extended_Index
mov ah, Ext_Cntrl_1
out dx, ax
mov al, Index_Reg
mov ah, user_data ;Desired data to be
out dx, ax
;written to
;extended index 03h
;Read from Extension Control 1 register example
;Code section
mov dx, I/O_Base_Address
mov al, Extended_Index
mov ah, Ext_Cntrl_1
out dx, ax
mov al, Index_Reg
out dx, al
inc dx
;al has extended
in al, dx ;index 03h data
June 1998
ADVANCE DATA BOOK v0.3
43
INTRODUCTION TO THE CL-PD6833