wkoszek/cpu60
View on GitHub ↗ ★ 165 C
Simple CPU model written in 60 lines of C with 8 registers and basic instructions
6 mentions on Hacker News by 2 people: 3 stories, 3 comments · first 2015-09-28 · latest 2016-11-15
20082026
-
Very nice. I'm going to star all of these. Reminds me my CPU model in 60 lines of code: https://github.com/wkoszek/cpu60
comment by wkoszek · 2016-11-15 · in Ask HN: What simple tools or products are you most proud of making? -
…right: I didn't design it to be run with UID 0. However I fixed the issue and gave you the credit: https://github.com/wkoszek/cpu60/commit/672711f3e06bba424b98...
comment by wkoszek · 2015-10-14 · in Show HN: CPU simulator in 60 lines of code -
Because it will force only to execute one of the conditional branch. https://github.com/wkoszek/cpu60/blob/master/cpu60.c might execute several. (It may be on purpose though.)
comment by hartator · 2015-10-13 · in Show HN: CPU simulator in 60 lines of code -
▲ 60
Show HN: CPU simulator in 60 lines of codestory by wkoszek · 2015-10-13 · 33 comments
-
▲ 2
Show HN: CPU simulator in 60 lines of codestory by wkoszek · 2015-10-12 · 0 comments
-
▲ 2
CPU model written in 60 lines of C codestory by wkoszek · 2015-09-28 · 0 comments