This is SAL (Scratch Assembly Language) 1.2. What you type goes into Input, and the variable goes to Output. Opcodes: LOD: loads the number you put in (up to 3 digits!) after this (LOD 5 (at 1) - sets variable to 5) ADD: adds the number you put in after this to the loaded number, this then becomes the loaded number (ADD 20 (at 2) - sets variable to itself + 20, variable is now 25) SUB: same as ADD but subtracting (SUB 15 (at 3) - sets variable to itself - 15, variable is now 10) JMP - sets the number to read to the number you put in (JMP 2 (at 4) - goes to the opcode at position 2, which would be ADD 20. Then, it infinitely loops, this is what it was originally supposed to do.) TXT - prints the characters, supports up to 10 characters (TXT HELLO! (at 5, which wouldn't run because of the JMP instruction) - puts HELLO! in the Output) RUN - Runs the code (no argument, no small tutorial!)
notes: This is SAL (Scratch Assembly Language). What you type goes into Input, and the variable goes to Output. Try this: LOD 20 (then press enter) ADD 1 (press enter) TXT INF LOOP (press enter) JMP 2 (press enter) RUN (enter) This should start with 20, then add 1, then say INF LOOP over and over again. credits: err.. my brain..? and.. ..kathleen booth?? definitely credits to u/realspiritsk from reddit!! helped me fix the jmp problem that killed everything right before version 1.1 1.0 - released with load, add, sub, jump, and run. 1.1 - added "txt", which can print up to 10 characters, and renamed load and jump to lod and jmp. 1.2 - made it easier to read by adding some blank lines, since the ask popup is blocking some of the code