TQHEX documentation
0x01 - exit program
0x02 (char 1b) - prints a single character
0x03 - clears console
0x04 (duration 1b) - waits for duration*10 ms
0x05 (index 1b) - jumps to a point in the file (1b)
0x06 - reads an entire line of text and puts it into the input register
0x07 - when its 0x07 00 .. compare the thing in input register with the string provided (null terminated) and if mode is 01 then take 2 vars and compare them. if equal, bool reg is true, if not, false
0x08 (index 1b) (index 1b) - if the bool register is true, jumps to first byte. if false, second
0x09 (null terminated string) - prints a whole NT string
0x0A - gets one character, and puts it in the input reg
0x0B (nt string) - executes the nt string in cmd
0x0C - beep sound
0x0D - inc loaded var
0x0E - dec laoded var
0x0F (var 1b) - loads var
0x10 (index 1b) (index 1b) - if the loaded var is 0, go to the first index if not go to second
0x11 (offset 1b) - goes forward by an offset
0x12 (offset 1b) - goes back by an offset
0x13 - infinite yield