gb_lookup_instruction
Find the encoding, bit pattern, opcode bytes, cycles, and flag effects for any Game Boy instruction mnemonic. Resolves exact machine code for decompilation work.
Instructions
Look up how an instruction is encoded, and what it costs.
Returns the bit pattern, every opcode byte in the group, an example decoding, and its cycles and flag effects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mnemonic | Yes | 'ld hl, imm16', 'bit', 'rst', 'daa', ... |