Lenovo ThinkPad 600E Technical Reference Manual for the ThinkPad 600 - Page 138
BIOS Call
View all Lenovo ThinkPad 600E manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 138 highlights
BIOS Call Assembler Language: 16-Bit Protected Mode ; ; Build Input Parameter Field ; mov al, SMB_GET_SYSID mov [bx].@Func, al push mov push push ds ax, offset OutputParm ax ds mov push call add ax, offset InputParm ax _SmapiBios sp, 8 ; ; Get information from Output Parm ; or ax, ax jnz Error mov bx, offset OutputParm mov al, [bx].@Parm1 B-62 SMAPI BIOS
BIOS Call
Assembler Language:
16-Bit Protected Mode
;
; Build Input Parameter Field
;
mov
al, SMB_GET_SYSID
mov
[bx].@Func, al
push
ds
mov
ax, offset OutputParm
push
ax
push
ds
mov
ax, offset InputParm
push
ax
call
_SmapiBios
add
sp, 8
;
; Get information from Output Parm
;
or
ax, ax
jnz
Error
mov
bx, offset OutputParm
mov
al, [bx].@Parm1
B-62
SMAPI BIOS