标题:[求助]大家请来看一下我这个A1000的错误是什么
只看楼主
大猪小猪
Rank: 1
等 级:新手上路
帖 子:22
专家分:0
注 册:2006-4-18
 问题点数:0 回复次数:0 
[求助]大家请来看一下我这个A1000的错误是什么

prompt byte "this program will evaluate the expression " cr,lf,lf
byte " ((5*x-7)+3)*x-10",cr,lf,lf
byte "for your choice of interge values. ",cr,lf,lf
byte " enter the value for x: ",0
value byte 16 DUP(?)
answer byte cr,lf,"the result is "
result byte 10 DUP(?)
byte cr,lf,0

.CODE
_start:
output prompt
input value,16
atoi value
mov cx,ax
imul ax,5
sub ax,7
imul ax,cx
add ax,3
imul ax,cx
sub ax,10

itoa result,ax
output answer

2006-10-19 09:35



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-97294-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 1.496800 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved