editor sorta for ska4 press space for some features also SEE INSIDE because im too lazy to add a way to edit the list inside the project "pcell" refers to the memory cell the pointer points to opcode (opnumber) - # operands, info hlt (-1) - no operands, stops the program comment (0) - 1 operand, does nothing compnote (compnote) - basically a comment but it tells the compiler how to compile log (1) - no operands, prints pcell res (2) - no operands, resets the memory cells (not recommended, manual garbage collection is much more precise) clr (3) - no operands, clears the terminal mov (4) - 1 operand, sets pcell to first operand pnt (5) - 1 operand, sets the pointer to the first operand cin (6) - 1 operand, prints first operand, gets input, puts response in pcell ps (7) - no operands, makes the pointer point to the value of pcell deb (8) - no operands, prints 1: the pointer, 2: the memory, 3: the amount of cells pif (9) - 2 operands, pointer goes to the second operand if the first operand and pcell are the same pin (10) - 2 operands, same as pif but it inverts the if statement (point if NOT) gif (11) - 2 operands, same as pif but instead of pointing to the second operand, it sets the program counter to the second operand gin (12) - 2 operands, same as gif but inverts the if statement (go if NOT) go (13) - 1 operand, sets program counter to the first operand sum (14) - 2 operands, adds the memory cells corresponding to the operands and puts them in pcell neg (15) - no operands, negates pcell mul (16) - 2 operands, multiplies the memory cells corresponding to the operands and puts them in pcell compnotes: +legacy - changes compiler to look for "//*" delims instead of " . " +cell[16][64][128][256] - changes the amount of memory cells upon running the program (default is 32) +ignorespamerror - ignores spamerror +clearterminalwhenerrorthrown - clears the terminal when an error is thrown, makes debugging harder but is useful for detecting spamerrors phew that was a lot
silly kernel assembly 4.0 is an assembly language that gets compiled ye