|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
assume cs:codesg,ds:datasg
' W+ r* v$ a* e, ldatasg segment4 j8 B! G0 n" \0 q* L; D1 j+ i
db '1.ibm '
! q F5 Z/ t+ j' f. V+ P db '2.dec '+ c& z5 f) V6 f5 P- I6 [: m
db '3.dos ' o9 D& r9 Q# ~" y! L% c% f
datasg ends
$ g& U- q, N4 q9 ^/ I9 m/ h0 I/ E( s8 `# |( U) F) y5 i3 r+ R4 d
codesg segment# c$ R4 t9 S* ~* c
start: mov ax,datasg+ k. _6 B y) j* T: p
mov ds,ax
. o9 B, l4 F" ^( d# Q4 f! Q4 d mov bx,0
5 b" ?! f8 w m( N
5 T) Q: j2 Y* ]: i5 s: [ mov cx,3
7 [. c9 `7 ?6 M1 v s: mov al,[bx+2]
- H2 K5 }1 \' h4 D: _ and al,11011111b7 R+ T5 l; W; ~ x( p
mov [bx+2],al
0 H. w) O0 h, C+ G add bx,16
1 ~. ]( u9 {; S/ O8 o# k+ q loop s
1 p/ ]" K& r1 p/ o3 T9 D ; w9 B: @& S( W! g: t3 i+ `2 u w
mov ax,4c00h
* A" d! i$ c* Y) f# q* a' S int 21h
8 o7 K3 V0 A0 f# c6 icodesg ends" Y0 b- M4 i! \9 Q, o- z
end start
, u: H4 t0 L5 b: G2 D& I8 V |
|