Refactored opcode/arguments extraction