assume cs:codesg,ds:datasg datasg segment db 'dec' db 'ken oslen' dw 137 dw 40 db 'pdp' datasg ends codesg segment start: mov ax,datasg mov ds,ax ;modify the grade to 38 mov bx,0ch mov word ptr ds:[bx],38 ;modify the lirun to 110 mov bx,0eh add word ptr ds:[bx],70 ;modify the important product's name to 'VAX' mov bx,10h mov si,0h mov byte ptr ds:[bx][si],'V' inc si mov byte ptr ds:[bx][si],'A' inc si mov byte ptr ds:[bx][si],'X' mov byte ptr ds:[0],'s' mov ax,4c00h int 21h codesg ends end start 调试过程: -r AX=0000 BX=0000 CX=004D DX=0000 SP=0000 BP=0000 SI=0000 DI=0000 DS=143C ES=143C SS=144C CS=144E IP=0000 NV UP EI PL NZ NA PO NC 144E:0000 B84C14 MOV AX,144C -u 144E:0000 B84C14 MOV AX,144C 144E:0003 8ED8 MOV DS,AX 144E:0005 BB0C00 MOV BX,000C 144E:0008 C7072600 MOV WORD PTR [BX],0026 144E:000C BB0E00 MOV BX,000E 144E:000F 830746 ADD WORD PTR [BX],+46 144E:0012 BB1000 MOV BX,0010 144E:0015 BE0000 MOV SI,0000 144E:0018 C60056 MOV BYTE PTR [BX+SI],56 144E:001B 46 INC SI 144E:001C C60041 MOV BYTE PTR [BX+SI],41 144E:001F 46 INC SI -t AX=144C BX=0000 CX=004D DX=0000 SP=0000 BP=0000 SI=0000 DI=0000 DS=143C ES=143C SS=144C CS=144E IP=0003 NV UP EI PL NZ NA PO NC 144E:0003 8ED8 MOV DS,AX -t AX=144C BX=0000 CX=004D DX=0000 SP=0000 BP=0000 SI=0000 DI=0000 DS=144C ES=143C SS=144C CS=144E IP=0005 NV UP EI PL NZ NA PO NC 144E:0005 BB0C00 MOV BX,000C -t AX=144C BX=000C CX=004D DX=0000 SP=0000 BP=0000 SI=0000 DI=0000 DS=144C ES=143C SS=144C CS=144E IP=0008 NV UP EI PL NZ NA PO NC 144E:0008 C7072600 MOV WORD PTR [BX],0026 DS:000C=0089 -t AX=144C BX=000C CX=004D DX=0000 SP=0000 BP=0000 SI=0000 DI=0000 DS=144C ES=143C SS=144C CS=144E IP=000C NV UP EI PL NZ NA PO NC 144E:000C BB0E00 MOV BX,000E -dds:0 144C:0000 64 65 63 6B 65 6E 20 6F-73 6C 65 6E 26 00 28 00 decken oslen&.(. 144C:0010 70 64 70 00 00 00 00 00-00 00 00 00 00 00 00 00 pdp............. 144C:0020 B8 4C 14 8E D8 BB 0C 00-C7 07 26 00 BB 0E 00 83 .L........&..... 144C:0030 07 46 BB 10 00 BE 00 00-C6 00 56 46 C6 00 41 46 .F........VF..AF 144C:0040 C6 00 58 C6 06 00 00 73-B8 00 4C CD 21 06 C4 5E ..X....s..L.!..^ 144C:0050 F8 26 8B 47 06 26 8B 57-08 89 46 FC 89 56 FE C4 .&.G.&.W..F..V.. 144C:0060 5E FC 26 80 7F 04 00 75-03 E9 84 00 26 8B 07 26 ^.&....u....&..& 144C:0070 8B 57 02 89 46 F4 89 56-F6 8A 46 08 26 38 47 04 .W..F..V..F.&8G. -p AX=144C BX=000E CX=004D DX=0000 SP=0000 BP=0000 SI=0000 DI=0000 DS=144C ES=143C SS=144C CS=144E IP=000F NV UP EI PL NZ NA PO NC 144E:000F 830746 ADD WORD PTR [BX],+46 DS:000E=0028 -p AX=144C BX=000E CX=004D DX=0000 SP=0000 BP=0000 SI=0000 DI=0000 DS=144C ES=143C SS=144C CS=144E IP=0012 NV UP EI PL NZ NA PO NC 144E:0012 BB1000 MOV BX,0010 -p AX=144C BX=0010 CX=004D DX=0000 SP=0000 BP=0000 SI=0000 DI=0000 DS=144C ES=143C SS=144C CS=144E IP=0015 NV UP EI PL NZ NA PO NC 144E:0015 BE0000 MOV SI,0000 -p AX=144C BX=0010 CX=004D DX=0000 SP=0000 BP=0000 SI=0000 DI=0000 DS=144C ES=143C SS=144C CS=144E IP=0018 NV UP EI PL NZ NA PO NC 144E:0018 C60056 MOV BYTE PTR [BX+SI],56 DS:0010=70 -p AX=144C BX=0010 CX=004D DX=0000 SP=0000 BP=0000 SI=0000 DI=0000 DS=144C ES=143C SS=144C CS=144E IP=001B NV UP EI PL NZ NA PO NC 144E:001B 46 INC SI -p AX=144C BX=0010 CX=004D DX=0000 SP=0000 BP=0000 SI=0001 DI=0000 DS=144C ES=143C SS=144C CS=144E IP=001C NV UP EI PL NZ NA PO NC 144E:001C C60041 MOV BYTE PTR [BX+SI],41 DS:0011=64 -p AX=144C BX=0010 CX=004D DX=0000 SP=0000 BP=0000 SI=0001 DI=0000 DS=144C ES=143C SS=144C CS=144E IP=001F NV UP EI PL NZ NA PO NC 144E:001F 46 INC SI -p AX=144C BX=0010 CX=004D DX=0000 SP=0000 BP=0000 SI=0002 DI=0000 DS=144C ES=143C SS=144C CS=144E IP=0020 NV UP EI PL NZ NA PO NC 144E:0020 C60058 MOV BYTE PTR [BX+SI],58 DS:0012=70 -p AX=144C BX=0010 CX=004D DX=0000 SP=0000 BP=0000 SI=0002 DI=0000 DS=144C ES=143C SS=144C CS=144E IP=0023 NV UP EI PL NZ NA PO NC 144E:0023 C606000073 MOV BYTE PTR [0000],73 DS:0000=64 -p AX=144C BX=0010 CX=004D DX=0000 SP=0000 BP=0000 SI=0002 DI=0000 DS=144C ES=143C SS=144C CS=144E IP=0028 NV UP EI PL NZ NA PO NC 144E:0028 B8004C MOV AX,4C00 -p AX=4C00 BX=0010 CX=004D DX=0000 SP=0000 BP=0000 SI=0002 DI=0000 DS=144C ES=143C SS=144C CS=144E IP=002B NV UP EI PL NZ NA PO NC 144E:002B CD21 INT 21 -d ds:0 144C:0000 73 65 63 6B 65 6E 20 6F-73 6C 65 6E 26 00 6E 00 secken oslen&.n. 144C:0010 56 41 58 00 00 00 00 00-00 00 00 00 00 00 00 00 VAX............. 144C:0020 B8 4C 14 8E D8 BB 0C 00-C7 07 26 00 BB 0E 00 83 .L........&..... 144C:0030 07 46 BB 10 00 BE 00 00-C6 00 56 46 C6 00 41 46 .F........VF..AF 144C:0040 C6 00 58 C6 06 00 00 73-B8 00 4C CD 21 06 C4 5E ..X....s..L.!..^ 144C:0050 F8 26 8B 47 06 26 8B 57-08 89 46 FC 89 56 FE C4 .&.G.&.W..F..V.. 144C:0060 5E FC 26 80 7F 04 00 75-03 E9 84 00 26 8B 07 26 ^.&....u....&..& 144C:0070 8B 57 02 89 46 F4 89 56-F6 8A 46 08 26 38 47 04 .W..F..V..F.&8G. -p Program terminated normally -p