📄 func.asm
字号:
;INT 15h
;AX = E801h
;Return:
; CF clear if successful
; AX = extended memory between 1M and 16M, in K (max 3C00h = 15MB)
; BX = extended memory above 16M, in 64K blocks
; CX = configured memory 1M to 16M, in K
; DX = configured memory above 16M, in 64K blocks CF set on error
;This function has been around since about 1994, so all systems from after then up to now should have this function.
;Note: For optimum compatibility with all systems you should use the functions in the order: E820h, E881h, E801h and resort to 88h/C7h if everything else fails.
global _setvect
_setvect:
push ebp
mov ebp,esp
push esi
push ebx
pop ebx
pop esi
pop ebp
ret
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -