Calling nihstro::InlineAsm::CompileToRawBinary with an OpCode::Id::MAD instruction causes an Unknown instruction exception to throw.
|
|
|
default: |
|
throw "Unknown instruction"; |
OpCode::Id::MAD is a OpCode::Type::MultiplyAdd which is unhandled by the switch-case and uses the exception-throwing default:-case.
Calling
nihstro::InlineAsm::CompileToRawBinarywith anOpCode::Id::MADinstruction causes anUnknown instructionexception to throw.nihstro/include/nihstro/inline_assembly.h
Lines 400 to 402 in e924e21
OpCode::Id::MADis aOpCode::Type::MultiplyAddwhich is unhandled by the switch-case and uses the exception-throwingdefault:-case.