|
|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
assume cs:codesg,ds:datasg
6 o# D6 \0 Z {9 m S2 ~datasg segment
0 u4 ^% q' L1 T# W' Q' e+ p6 p db '1.ibm ': |' f+ u6 i9 L. }" F
db '2.dec '* N) h0 j6 R! Q# [
db '3.dos '
. O7 f' o! @6 W- z/ _! Udatasg ends6 j* o, B* \2 V: L: b7 x% N( K, }1 p
' n3 R1 p! Z) H+ g3 S3 W) a( Rcodesg segment! g! A" V5 z) k: Q
start: mov ax,datasg6 v: r4 p5 U: u5 A
mov ds,ax
1 a; f" F" `! m& W# E mov bx,0
! V: c+ @( K. R
8 Q- R/ R, N& O4 M- ? mov cx,3
: Z' X' n# K6 M1 q7 r# b s: mov al,[bx+2]
5 m$ W0 M3 V$ ]: ]# s: a+ I: ~ and al,11011111b
! j1 @0 p* h6 X' _+ C+ ]' c mov [bx+2],al
9 }, J& [5 l# z3 c add bx,16
( M6 F4 m; j' x* K( c# a1 [. Z loop s
* t! o4 m: w" V* Z ! y5 t% I7 e: J
mov ax,4c00h
+ V6 r0 }( w/ z& {- y6 q int 21h
0 a3 u6 M7 R) J, d- Ecodesg ends; Y/ d' |1 o' E3 U2 i
end start, m2 x; o2 y- f6 o
|
|