在我的 VDU微处理器模拟器上显示 2 位数字

问题描述

所以尝试使用微处理器模拟器(sms32v50)学习一些汇编语言。我完成了基础知识,但现在有点卡住了,无法前进。所以我需要添加 2 位数字(例如 22 + 55),然后在 VDU 中显示该答案。 似乎有时它确实显示总和的最后一个数字,有时只显示一些图标,如 % 或 '。如果我查看 RAM,我可以看到答案是正确的并移动到正确的位置,但之后我就卡住了。

有什么建议吗?

; ===== WORK OUT 20 PLUS 15 =====================================
 CLO     ; Close unwanted windows.
 MOV AL,22   ; Copy a 20 into the AL register.
 MOV BL,5    ; Copy a 15 into the BL register.
 ADD AL,BL   ; ADD AL and BL. Answer goes into AL.
 MOV [C0],AL    ; Moving the answer to VDU and display it.
 END     ; Program ends
; ===== Program Ends ===========================================

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...