Command: Sqr: square the reg, mov : add 1 to the reg, sub : substract 1 to the reg, div : square root the reg, print : add the reg to the output, clr : remove anything in the output, execute: (only once you typed last command)