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.
27 Instruction
& decode( word opcode
) const;
28 bool is2WordInstruction( word opcode
) const;
31 Instruction
*lookupOpcode( word opcode
);
34 static std::vector
<Instruction
*> lut
;
37 inline Instruction
& Decoder::decode( word opcode
) const {
43 #endif /*AVR_DECODER_H*/