Add instruction decoder framework.
TODO: Implement.
Add two test cases.