Get the Whitepaper called Creating Your Own Abstract Processor. The author discusses creating a theoretical processor architecture that one can develop at the software level.
You can download it from the following link: https://packetstormsecurity.com/files/download/105938/Abstract-Processor.pdf
Source: https://packetstormsecurity.com/files/105938/Creating-Your-Own-Abstract-Processor.html