INSTALLATIONS

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 pushax

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

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

MAT-880 User’s Manual

29

Page 33
Image 33
Intel MAT-880 user manual UnlockChip Proc Near mov dx, 4Eh mov al, 0AAh out dx, al ret