一个小程序
.model small
.stack
.data
org 100h
varw dw 1234h,5678h
varb db 3,4
vard dd 12345687h
buff db 10 dup(?)
mess db 'hello'
.code
start: mov ax,@data
mov ds,ax
mov ax,offset varb + offset mess ax=?
mov ax,type buff + type mess + type vard ax=?
mov ax,sizeof varw + sizeof buff + sizeof mess ax=?
mov ax,lengthof varw + lengthof vard ax=?
mov ax,4c00h
int 21h
end start
这是书上的例题,我打成程序,可在MASM6下无法通过编译,提示“error A2101:cannot add two relocatable labels”
到底是怎么回事?