求助甲鱼哥
assume cs:codesg,ds:datasg,ss:stacksgstacksg 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.......'
datasg ends
codesg segment
start:
mov ax,stacksg
mov ss,ax
mov sp,16
mov ax,datasg
mov ds,ax
mov bx,0 ;定义列
mov cx,4
s0:
push cx
mov si,0 ;定义列
mov cx,4
s1:
mov al, ;这里是定位到没个要索引的字母,每行取4个字母
and al,11011111b ;实现大写转换
mov ,al
inc si
loop s1
and bx,16
pop cx
loop s0
mov ax,4c00h
int 21h
codesg ends
end start
有个错误
Assembling: 12.asm
12.asm(29) : error A2070: invalid instruction operands
12.asm(31) : error A2070: invalid instruction operands
这是为啥呢
and bx,16应该是add bx,16 s1: mov al,
根据提示好像是这里有错误
页:
[1]