|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
- assume cs:codesg,ds:datasg,ss:stacksg
- stacksg segment
- dw 0,0,0,0,0,0,0,0
- stacksg ends
- datasg segment
- db '1. display......'
- db '2. brows........'
- db '3. replace......'
- db '4. modify.......'
- dw 0
- datasg ends
- codesg segment
- start:
- mov ax,stacksg
- mov ss,ax
- mov ax,datasg
- mov ds,ax
- mov sp,16
- mov ax,0
- mov bx,0 ;定为行
- mov cx,4
- s0:
- push cx
- mov si,0 ;定义列
- mov cx,0
- s:
- mov al,[bx+3+si] ;这里是27行 ;定位到每行要索引的字母,总共每行有四个字母
- and al,11011111b ;实现使他变为大写字母
- mov [bx+3+si],al ;这里是29行
- inc si
- loop s
- add bx,16
- pop cx
- loop s0
-
- mov ax,4c00h
- int 21h
- codesg ends
- end start
- codesg ends
- end start
复制代码 喵咪喵咪
p12.asm(27) : error A2070:
p12.asm(29) : error A2070:

|
|