INSTALLATIONS

;[]================================================ Unlock_Chip Proc Near

mov dx, 2Eh 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 pushax

mov dx, 2Eh 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, 2Eh

out

dx, al

inc

dx

in

al, dx

ret

 

Read_Reg

Endp

;[]================================================

MB893 User’s Manual

23

Page 27
Image 27
Intel MB893 user manual Mov dx, 2Eh mov al, 0Aah Out dx, al ret