14 * @brief Instruction Decoder
16 * The decoder can decode instruction opcodes and returns
17 * Instruction classes capable of executing the instruction.
19 * For performance reasons, it contains a big table with all
20 * possible opcodes and accompanying Instruction instance.
28 Instruction
& decode( word opcode
) const;
29 bool is2WordInstruction( word opcode
) const;
32 Instruction
*lookupOpcode( word opcode
);
35 std::vector
<Instruction
*> lut
;
38 inline Instruction
& Decoder::decode( word opcode
) const {
44 #endif /*AVR_DECODER_H*/