|
|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
assume cs:codesg,ds:datasg" @! Y: r5 M, w. p
datasg segment% v2 f) M4 p# d, }
db '1.ibm '
9 f8 W4 z3 b( W7 T db '2.dec '
& H- }; P5 [- [* N1 Z db '3.dos '5 }1 W ~% g- f1 h$ s. |, g
datasg ends
" N3 @! b3 I _! h; @) c9 M) Q# S& B
_2 j: j5 r/ ]9 xcodesg segment
- U2 f; p& q1 b% P& C5 Istart: mov ax,datasg' a9 @4 g. j1 O/ a. f6 w0 ^
mov ds,ax
5 I5 C3 ~2 r" G1 A: N5 {# { mov bx,0. \. a7 `" W; m# m6 n
i9 @$ I( T6 }5 J! q/ @5 ?8 f: y( i mov cx,31 M; H, A3 R! r& e9 ?# U
s: mov al,[bx+2]4 S- r! C. E8 z, M) r, o
and al,11011111b
$ i2 G! d# y% I; j! c+ n1 o mov [bx+2],al7 z( s4 i" L3 u3 Q2 q
add bx,166 o* \# M! |- s9 @
loop s
5 F5 D5 G5 l: s4 D6 ^3 ` . k: x: r9 t5 M& O
mov ax,4c00h
. Q1 I" b5 e- M$ R% W int 21h
. c( F7 i5 r( D6 h3 Ecodesg ends# H) _4 h' P" O+ T4 |
end start- o" v0 a7 l( {- T- G5 J9 U0 d
|
|