Interprets and executes LC4 commands and updates machine state