Very old assignment. Purpose was to make a small interpreter for a very simple assembly language. I refused to use a hardcoded switch statement at the time, only realizing later this was very smart.