Comments (3)
Here's a full table of all possible programs, while I was at it:
01 23 | Function | Looped C equivalent | Description
----------------------------------------------------------------------------
00 00 | NOP, NOP | void; void; | Do nothing
00 01 | NOP, INV | void; a=!a; | Half frequency blink
00 10 | NOP, NOP | void; void; | Do nothing
00 11 | NOP, HLT | void; while(1); | Halt forever
01 00 | INV, NOP | a=!a; void; | Half frequency blink
01 01 | INV, INV | a=!a; a=!a; | Maximum frequency blink
01 10 | INV, NOP | a=!a; void; | Half frequency blink
01 11 | INV, HLT | a=!a; while(1); | Usually one state change, then halt
10 00 | HLT, NOP | while(1); void; | Halt forever
10 01 | HLT, INV | while(1); a=!a; | At most one state change, then halt
10 10 | HLT, NOP | while(1); void; | Halt forever
10 11 | HLT, HLT | while(1); while(1); | Halt forever
11 00 | NOP, NOP | void; void; | Do nothing
11 01 | NOP, INV | void; a=!a; | Half frequency blink
11 10 | NOP, NOP | void; void; | Do nothing
11 11 | NOP, HLT | void; while(1); | Halt forever
Together with the reset button, you can even get some limited user input (e.g. inverse-useless machine with INV, HLT that toggles the LED on whenever you reset).
from 1bit-cpu.
@bmuessig
Thank you very much.
Added a table of circuit operation and switch positions to the document.
from 1bit-cpu.
@bmuessig Thank you very much. Added a table of circuit operation and switch positions to the document.
That's great! Have a good 2024.
from 1bit-cpu.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 1bit-cpu.