A downloadable tool for Windows

Pemu is a simulated CPU with 36 unique instructions and 8 registers. Pemu runs .pemu files which are binary files that have a full instruction every 3 bytes at ~4 GHz. There is Pasm which is an assembly language which compiles to .pemu and has a file extension of .pasm. There is extensive documentation on both of these which you can find in the "docs" folder. Pemu is open source and any suggestions are appreciated. Since this is a pre-release it's not fully complete, some features are missing. There is a low level language called Plow, which you can think of as easy Pasm. Pemu can achieve speeds of 4 GHz, my fastest project so far.

Get daily updates on Pemu 2 and features being developed: https://github.com/madcottonballs/Pemu-2

Pemu 2 overview of features (subject to heavy change):

83 unique instructions with 27 registers. Complete support for modularized programming with the introduction of the "fr" and "ltr" series. There are 13 general purpose registers. Speed tests show it is about 30% faster than Pemu 1, except it is considerably easier to write complicated code. Plow has taken the role of Pasm, with Pasm no longer being included. Plow complies directly to the binary, ensuring Plow code with performance either equal to or greater than Plow 1. The first 80 instructions are organized, unlike in Pemu 1. Pemu 2 also supports variable length instructions and 32 bit computation and addressing. 

DOWNLOAD PEMU 2 NOW: https://cottonballs.itch.io/pemu-2

IMPORTANT:

To run Pemu Beta and onwards you must have the programming language Rust downloaded + have the "rustc" command available system wide (on by default installation). Here is the download link: https://www.rust-lang.org/tools/install

Updated 24 days ago
StatusReleased
CategoryTool
PlatformsWindows
AuthorCottonballs

Download

Download
Pemu v0.012124.zip 13 MB
Download
Pemu Pre-Release.zip (OLD) 13 MB
Download
Pemu Beta 4 GHz.zip (OLD) 6.9 MB
Download
Pemu Alpha-Beta 81 MHz.zip (OLD) 6.9 MB
Download
Pemu Alpha 200 kHz.zip (OLD) 13 MB

Install instructions

Download the .zip, decompress it, and then open a terminal with the working directory being the Pemu folder. Now you can open up the docs and learn Pasm. Then you can write a .pasm file and compile it to binary using ".\pasm {filename}.pasm". It's at this point it's likely that Windows defender will tell you it protected your PC against malware. I understand suspiciousness, but I can assure you I am not trying to corrupt your PC. This is open source, look through the code, look at my reputation of projects, and look at the extensive work I would have had to put in just to convince you I am not trying to corrupt your PC. If you still don't believe me, try to run the project in a virtual machine and it'll show you it's not malicious. 

Development log

Leave a comment

Log in with itch.io to leave a comment.