Re: Chess

Posted by Gerrit0 on
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Chess-tp4035234p4035240.html

This is amazing! I ran it through my translator, which does some space optimizations but is primarily focused on speed, and 32K is still way out of reach. With a translator that has optimal/near optimal Hack for each VM instruction, there are just over 200K Hack instructions. Applying all my optimizations, the assembled Hack has 146405 143827 instructions.

Note: These numbers include the stock Jack OS, my translator doesn't let you run unless all functions are defined.

It would be an interesting project to try to get this under 100K instructions. I think it's possible, but getting all the way down to 32K would be incredibly difficult.