HealsCodes / vim-gas

Advanced syntax highlighting for GNU As
BSD 3-Clause "New" or "Revised" License
143 stars 21 forks source link

Add {b, w, l, q} variants for the conventional instructions #18

Closed nzec closed 2 years ago

nzec commented 3 years ago

For example the dec{b, w, l, q} variants of dec are not highlighted (even though specifying the suffix here is redundant, I see it used sometimes for clarity).

Also, how did you compile the list of instructions?

HealsCodes commented 3 years ago

For example the dec{b, w, l, q} variants of dec are not highlighted (even though specifying the suffix here is redundant, I see it used sometimes for clarity).

I'll have a look at adding those, shouldn't be hard.

Also, how did you compile the list of instructions?

From the reference documents cross referencing the syntax additions made by GAS - so mainly by working through Intel® 64 and IA-32 architectures software developer's manual combined volumes 2A, 2B, 2C, and 2D: Instruction set reference, A- Z.

mathguy-ro commented 2 years ago

This seems more like an oversight (at least as of the most recent version as of 2021-11-29); while dec(b|w|q|l) are missing, inc(b|w|q|l) are all there.