All code by me, inspiration from XenonOS (what I assume to be an operating system written from scratch) PLEASE USE CREDIT (@GreenMathGuy) ~~~~~~~~EVERY FUNCTION~~~~~~~~ inc (increase): increases # of reg, if left empty, increases acc dec (decrease): decreases # of reg, if left empty decreases acc brk (break): stops the program jmp (jump): jumps to line # jiz (jump if zero): jumps to line # if acc = 0 jnz (jump not zero): jumps to line # if acc ≠ 0 set (set): sets acc to # sto (store): stores acc in # of reg lod (load): retrieves value from # of reg to acc ~~~~~~~~How to use~~~~~~~~ copy this sprite into your project and use it to run functions for an os, you can add more functions by adding another recursive loop inside the [run line () ()] block remember to always put a space in between the function and the variable
In development, working on an editor for this project Some bugs may cause this project to do nothing, the code still works, it’s just not connected with inputs due to it being in development