Added SP opcode in constants, fixed some redundancies in the same file