A CMOS RISC Processor with Integrated System Functions