Rewrite interpreter to follow read-ALU-write pattern