我希望在程序集中使用int 12获取内存大小,但是当我调用此中断时它只给出639. 639是什么意思? (我从整数转换为字符串)
例如:
bits 16
org 0x0
start:
int 12h;GET MEMORY TO AX (KB)
mov bx,ax ;BX=AX
call int_to_str ;IN:BX(INT)-OUT:BX(STRING)
mov si,bx ;SI=BX
call print_string ;PRINT SI
mov ax,10h ;KEY STROKE
int 16h
ret
此代码仅提供639.我还不明白。请帮忙。谢谢!