This is great. I honestly never thought of computer as a register state and instructions/asm commands as functions applied to it. But that makes so much sense.