nihstro
nihstro copied to clipboard
`CompileToRawBinary` does not handle `OpCode::Type::MultiplyAdd`
Calling nihstro::InlineAsm::CompileToRawBinary with an OpCode::Id::MAD instruction causes an Unknown instruction exception to throw.
https://github.com/neobrain/nihstro/blob/e924e21b1da60170f0f0a4e5a073cb7d579969c0/include/nihstro/inline_assembly.h#L400-L402
OpCode::Id::MAD is a OpCode::Type::MultiplyAdd which is unhandled by the switch-case and uses the exception-throwing default:-case.