6 ms·
> The easiest way to improve this would be to capture as much of the architecture as possible in formats that are easy to read and manipulate. In particular, in
by artisanspam 2y ago
> The easiest way to improve this would be to capture as much of the architecture as possible in formats that are easy to read and manipulate. In particular, instruction encodings and control/status registers are easily described by simple JSON/YAML/XML/… formats.
This has been something I wish was available for ARM pseudocode. It’d be ideal to just generate an equivalent Python, SystemVerilog, etc. library from the ARM ARM instead of having to reimplement a subset of it yourself.
- adreid 2y agoThis has been available for arm for some years. Here is a blog post I wrote at around the time it was released. The easiest bits to use would be the instruction formats and the register fields https://alastairreid.github.io/dissecting-ARM-MRA/ https://alastairreid.github.io/dissecting-ARM-MRA/