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
收藏
收藏
0 条评论
下一页