theperkinrex / armescpu_old_rust Goto Github PK
View Code? Open in Web Editor NEWA simulated simple CPU
A simulated simple CPU
This would add portability, and, if the CPU is ported to rust, it would be easier.
As rust is a compiled language, the CPU would run much faster than with an interpreted language like python
That would make it a binary file. Or maybe only store them as hex instead of binary.
The files could have a header, like the one they have right now, that specifies the address length and data length.
Something like:
!4:8
And then the data, read be the lengths specified
This is so there's no need for an OUTB and OUTR, it'd be just OUT br
or OUT $0
That memory could be loaded and stored in a .mmap file
This is so that there can be more instructions (because now instead of 4 bits, they're a byte long), and ram addresses can be 1 byte long instead of 4 bits.
Benefits:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.