Inlining get_opcode and timer functions