

Issues with bin adding / reading / writing with arithmetic in my computer emulator
I was really tired when i wrote this part of the code so arithmetic basicly doesnt work in my simulator, sometimes i write bits from left to right, sometimes opposite, but i tried to fix that.
When i use ADD rn it just sets bits to "" when it should set either to "0" or "1" so i know something is broken. INC atleast seems to not be setting things to "" but seems to add 1s and 0s but its shifted and i dont know if it works. I think i should make a block to write and read the decimals and use that for all of the instructions.
https://scratch.mit.edu/projects/1287676122/
(i wanted to share this project here but noticed the issue with math, also i randomly fixed some predefined macros/variables not replacing the arguments by just making a broadcast instead of putting that into the main parser block.. weird)
also based of all i checked this seems to be the last issue for now until someone finds another, and sorry that i have messy code.
i wrote some examples of code for this emulator in https://github.com/Simonko-912/EBSL for testing. If you wonder what ebsl is, i just came up with a random name for the programing langauge