It's about sort of my PIP-CPU (zCPU emulator, more info on that later maybe).
Except, it's a modified version of ASM (Assembly).
I've decided to call it "MikroASM", Mikro symbolizes the difference from the actual ASM.
So what it will do:
It will work on E2+GPU entirely.
It will have command prompt (Mostly executing programs, quickly opening the editor and such (Sort of like a console in GMod)).
It will have 2 different languages: MikroASM & MikroASM visual.
The difference being that the Visual version has access to the screen (The GPU) it self.
Currently, I'm working on the string transfer (E2 -> GPU).
I know, I have quite a lot of projects.
Doesn't mean they go in the garbage can though, I will work on all of them and I will finish them.
Anyway, here's a syntax example:
cif reg1 //If reg1, sort if similar to 'cmp x,y'
cgr 10 //Is the current comparison greater than 10?
true; //If it's true do this:
amov reg2,0 //Set reg2 to 0
false; //If it's false do this:
amov reg2,1 //Set reg2 to 1
cbreak; //Break the current if statement
jmp loop //Infinite loop
I'm planing on changing the 'cif' (Comparison-If) to be:
Label being the 'name' of the if statement, giving more freedom.
Or just make the 'cbreak' act in another way (95% sure).
Syntax is sort of self explanatory, so no comments ( // = comment)