CnPack Forum

#1 【水】【原创】【额是新手】一个int9中断示例，带注释！
[code]
assume cs:code
data segment
dw 0,0
data ends
stack segment
db 128 dup(0)
stack ends
code segment
start:
mov ax,stack
mov ss,ax
mov sp,128

mov ax,data
mov ds,ax

mov ax,0
mov es,ax ;es save blackout vector

push es:[9*4] ;number 9 blackout push it into stack this value it point offset address IP
pop ds:[0] ;pop it into ds:[0]
push es:[9*4+2] ;number 9 blackout and this value is point segment address CS
pop ds:[2] ;pop ..

#1 >>Next Page

Forum:技术板块灌水区 ...
Thread:【水】【原创】【额是 ...
Next Thread:关于代码签名

Home
Login

Powered by Discuz!