You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand things correctly, then, we'd need to add a mapping from the various formats to the final bits(32). This would be by extending fmt2bits mapping, above with an additional mapping per format (not per instruction group).
Then, for each instruction (group), we'd replace the current encdec mapping (ast <-> bits(32)) with a fmtencdec mapping (ast <-> instruction_format).
Instruction formats should be formalized in some consistent way.
A cheap, but less robust means is via attribute:
In talking with Alasdair Armstrong, he suggested a much better way that requires a lot more effort. Per an email from Alasdair:
The text was updated successfully, but these errors were encountered: