? Aether-OS Instruction Set (Opcodes) Opcode Name Description Example 0 HALT Stops the CPU entirely. HALT 10 SET_A Sets Register A to a specific number. SET_A, 5 20 ADD Adds a number to whatever is in Register A. ADD, 10 30 LOAD_A Takes a value FROM a RAM address and puts it in A. LOAD_A, 900 40 STORE_A Saves the value in Register A TO a RAM address. STORE_A, 901 50 COMPARE Checks if Register A equals a value (Sets Zero Flag). COMPARE, 1 60 JUMP Moves the program to a specific line number. JUMP, 5 70 JZ Jump to a line ONLY IF the last Compare was equal. JZ, 12 80 WAIT Pauses the CPU for a set amount of time. WAIT, 0.1 90 CALL Runs a "Function" and remembers where to return. CALL, 20 100 RET Finished a function? Return to where you were. RET Address 900: Input Port. 1 = Up Arrow, 2 = Down Arrow, 0 = No Key. Addresses 901–964: Video Buffer. 1 = Draw a White Pixel, 0 = Draw Nothing (Black). Tip: 901 is the Top-Left pixel; 964 is the Bottom-Right.