Typo?
Krout0n opened this issue · 3 comments
Krout0n commented
Hi there! Thank you for your great work!
BTW, I've noticed a little typo. If it is, can I submit PR?
it can understand a machine language which you can you can use to program it.
https://github.com/justinmeiners/lc3-vm/blob/master/index.lit#L41
justinmeiners commented
Yes! Thank you. A PR would be welcome, but if you don't get around to it I will fix it next time.
Krout0n commented
I've found another. Should this32 be 31, right?
For example, -1 stored in 5 bits is
1 1111. If we just extended it with 0's, this is0000 0000 0001 1111which is equal to 32!
https://github.com/justinmeiners/lc3-vm/blob/master/index.lit#L331
rpendleton commented
You're right. That should be 31 instead of 32.