My program2
2016-08-01 06:55:26 1 举报
登录查看完整内容
A program written in LC-3 simulator.
作者其他创作
大纲/内容
R1 negative?
Go back to loop
No
R2 - \"Y\"
try to matchR4 - R3 + R1
R2 - 'N'
CountR0 - 16
load the valueR1 - M[x3100]
Halt
match-codeR3 -2's complement of 1110 000 0 0000 0000 0000
End?R0 ?= 0
Yes
Match?R4 = 0?
put R2 into x3101
moveR1 - R1+R1
renew the countR0 - R0 -1
![My program2](https://www.processon.com/chart_image/template/thumb/579e87afe4b0e645bc6f9e9a.png?tid=579e81dee4b08bd20dc6deb8)
收藏
![My program 1](https://www.processon.com/chart_image/template/thumb/5b793e58e4b00bfde83ae461.png?tid=579c1d08e4b0e645bc687f22)
收藏
0 条评论
回复 删除
下一页