Implemented Processor functions

HWQ, SLP, SWI, RTI implemented.