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 |
;[]================================================
29 |