用EMU8086实现段间远调用
STACK SEGMENT STACK
STAPN DW 32 DUP(0)
STACK ENDS
DATA SEGMENT
ADDRESS DW 2 DUP(?) ;定义双字变量用来存放远跳转的CS:IP
DATA ENDS
CODE2 SEGMENT
SET_BX:MOV BX,1234H
RETF
CODE2 ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA,SS:STACK
START:M
原创
2020-11-04 18:32:13 ·
714 阅读 ·
0 评论