shingarov / Pharo-ArchC

Generate binutils from formal spec
MIT License
4 stars 1 forks source link

Signal IllegalInstruction instead of generic Error #20

Closed shingarov closed 2 years ago

shingarov commented 2 years ago

Consistent with what we do in OpcodeDecoder>>instructionsWithOpcodeFitting:

That way, tests can properly #should:raise:. Also disassembler UIs can pretty-print things like <?> when this exception is caught.