:: Registers Accumulator (A-Register) X, Y registers Memory (8kb) :: Flags Z; Zero :: Helpers NVAR , ; Sets new a variable and its value RVAR ; Removes a variable SVAR , ; Sets a variables value :: Commands (Memory) LDA
; Loads a memory value into ram STA
; Seeks to a memory value into the accumulator LDX; Loads accumulator into X LDY; Loads accumulator into Y STX; Stores X into accumulator STY; Stores Y into accumulator SEA ; Sets accumulator :: Commands (Arithmetic) ADD; Adds X + Y then stores in Accumulator SUB; Subtracts X - Y then stores in Accumulator MUL; Multiplies X * Y then stores in Accumulator DIV; Divides X / Y then stores in Accumulator :: Commands (flow control) JZE ; Jumps to a pointer in the program on zero flag JMP ; Jumps to a pointer in the program SFG ; Sets a flag to true RFG ; Prints value of memory address