Intel LGA775 Computer Hardware User Manual


 
INSTALLATIONS
30 IB865 Users Manual
; Name : Lock_Chip
; IN : None
; OUT : None
;[]================================================
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
push ax
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
;[]================================================