汇编程序22:检测点9.1
1 assume cs:code 2 //程序1 3 data segment 4 db '1' 5 data ends 6 7 code segment 8 start: 9 mov ax,data 10 mov ds,ax 11 mov bx,0 12 jmp word ptr [bx+1] 13 mov ax,4c00h 14 int 21h 15 code ends 16 17 end start
1 assume cs:code 2 //程序2 3 data segment 4 dd 12345678h 5 data ends 6 7 code segment 8 start: 9 mov ax,data 10 mov ds,ax 11 mov bx,0 12 mov [bx],bx 13 mov [bx+2],cs 14 jmp dword ptr ds:[0] 15 mov ax,4c00h 16 int 21h 17 code ends 18 19 end start