IBT Technologies IB530 User Manual page 55

Table of Contents

Advertisement

;[]================================================
Unlock_Chip
Proc Near
mov dx, 4Eh
mov al, 0Aah
out dx, al
ret
Unlock_Chip
Endp
;[]================================================
; Name
: Write_Reg
; IN : CL - register index
;
AL - Value to write
; OUT
: None
;[]================================================
Write_Reg Proc Near
push ax
mov dx, 4Eh
mov al,cl
out dx,al
pop ax
inc dx
out dx,al
ret
Write_Reg Endp
;[]================================================
; Name
: Read_Reg
; IN : CL - register index
; OUT
: AL - Value to read
;[]===================================================
Read_Reg Proc Near
mov al, cl
mov dx, 4Eh
out dx, al
inc dx
in
al, dx
ret
Read_Reg Endp
;[]================================================
IB530 User's Manual
APPENDIX
51

Advertisement

Table of Contents
loading

Table of Contents