bergercookie / asm-lsp

Language server for NASM/GAS/GO Assembly
https://crates.io/crates/asm-lsp
BSD 2-Clause "Simplified" License
272 stars 18 forks source link

feat: Arm support #118

Closed WillLillis closed 3 months ago

WillLillis commented 3 months ago

Adds autocomplete and hover capabilities for the ARM architecture.

Sources ARM's exploration tools for instruction information, and a few misc. website for the register info. I've been as thorough as (reasonably) possible in verifying the results of parsing the opcode documentation. However, given the sheer column of information, I'm sure there's a few mistakes/mistranslations hiding in there. Any and all bug reports, suggestions for improvement, etc. are more than welcome.

This will break people's existing .asm-lsp.toml files with the new arm instruction set configuration option, so publishing will require a minor version bump to 0.8.0.

The diff for this PR is quite large, but the vast majority is just the ARM opcode xml files. Regarding actual changes, we have:

cc @bergercookie

Checks off a stretch goal in #80 Closes #17