汇编语言 8086、8088 编程 定义了一个长数组(600多个元素)提示error A2042 如何解决
PICDB00H,00H,00H,00H,08H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,...
PIC DB 00H,00H,00H,00H,08H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,
00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,
00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,
00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,18H,00H,
00H,00H,0E0H,03H,00H,00H,08H,00H,00H,00H,00H,00H,00H,00H,38H,00H,
00H,00H,0F8H,01H,00H,00H,3CH,00H,00H,00H,00H,00H,00H,00H,1CH,07H,
00H,80H,0FFH,00H,00H,10H,38H,00H,00H,00H,00H,00H,00H,0CH,0CCH,07H,
00H,0F0H,3FH,00H,00H,60H,7CH,06H,00H,00H,00H,00H,00H,18H,1EH,02H,
00H,0E0H,1FH,00H,00H,0E0H,0FDH,07H,00H,00H,00H,00H,00H,0F8H,07H,03H,
后面还有一堆数。。。
然后。。。就出了上面的一堆错。。。。据说是数组定义过于复杂,有解决办法么?(当然还是要定义那600多个数。。) 展开
00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,
00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,
00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,18H,00H,
00H,00H,0E0H,03H,00H,00H,08H,00H,00H,00H,00H,00H,00H,00H,38H,00H,
00H,00H,0F8H,01H,00H,00H,3CH,00H,00H,00H,00H,00H,00H,00H,1CH,07H,
00H,80H,0FFH,00H,00H,10H,38H,00H,00H,00H,00H,00H,00H,0CH,0CCH,07H,
00H,0F0H,3FH,00H,00H,60H,7CH,06H,00H,00H,00H,00H,00H,18H,1EH,02H,
00H,0E0H,1FH,00H,00H,0E0H,0FDH,07H,00H,00H,00H,00H,00H,0F8H,07H,03H,
后面还有一堆数。。。
然后。。。就出了上面的一堆错。。。。据说是数组定义过于复杂,有解决办法么?(当然还是要定义那600多个数。。) 展开
2个回答
展开全部
假设CS:代码
代码段
开始:JMP短小号
分贝A
DB乙
DB C
:推DS
弹出CS
MOV IP,98
代码结束
年底开始
代码段
开始:JMP短小号
分贝A
DB乙
DB C
:推DS
弹出CS
MOV IP,98
代码结束
年底开始
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
太长了。
每一行,单独写一个 DB 指令:
PIC DB 00H,00H,00H,00H,08H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H ;行尾不要逗号
DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H
DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H
……
每一行,单独写一个 DB 指令:
PIC DB 00H,00H,00H,00H,08H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H ;行尾不要逗号
DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H
DB 00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H,00H
……
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询