This is an old version! Version 1.0 is here: https://scratch.mit.edu/projects/1187720495/ ⚠️ BETA Build! Be careful! ⚠️ Name for CPU: "Zedion S1"! Press SPACE to insert a new instruction into the instruction list. Press E to edit an instruction. Once you are done inserting instructions, press R to run the program. Change the CPU speed to change the processing time by Hz. If you are entering a register address, you MUST put a zero at the start of an address with one number! List of instructions and how to write them in Notes and Credits! It is completely fine with me if you want to copy this project. Do anything with it, such as prettyify it up, insert a custom program, or literally anything else.
Special thanks to Mattbattwings for the idea! Check his YouTube channel out! Instruction List (Don't include parentheses!): - say (text to display in terminal) - jmp (line in instructions to jump to) - set (register including 0 at front if it is a single-number named register) (number to set it to) - prt (register including 0 at front if it is a single-number named register) - add (register) (register) (register for answer) - min (register) (register) (register for answer) - ask (register to put input in) - ift (register) (=,<,>) (register) (were to jump if true) - pause - snd - and (register) (register) (output register) - orr (register) (register) (output register) - not (register) (output register) - cld - halt What the instructions do: - say: displays text on the screen. - jmp: moves the current process to a different line in the instructions. - set: sets a register to a number or text. - prt: prints the value of a register to the screen. - add: adds 2 registers and puts the answer in another register. - min: subtracts 2 registers and puts the answer in another register. - ask: asks the user for an input. - pause: stops the proram until a key is pressed. - ift: jumps if a condition is true. - snd: Makes a simple beep for any purpose. - and: compares content of two registers, and computes AND logic to a third register. (0/1) - orr: compares content of two registers, and computes OR logic to a third register. (0/1) - not: reverses if content is in a register to another register. (0/1) - cld: clears the terminal. - halt: stops the program completely. Version history: - v0.9 BETA: added cls, and, not, and orr - v0.8 BETA: added snd - v0.7 BETA: set the number of registers to 99 - v0.6 BETA: deleted biz, added ift, and added line editing. - v0.5 BETA: added biz (fail) - v0.4 BETA: added ask and pause - v0.3 BETA: added add and min - v0.2 BETA: added set and prt - v0.1 BETA: first creation