Replies: 3 comments 2 replies
-
You're probably better off making a separate file for ARM assembly as there is not much overlap between that and NASM x86. It is unfortunate that all kinds of wildly different assembly languages tend to use the same name and file extension. The order doesn't matter (unless there is overlap between the rules), in asm.yaml they're split just for readability (possibly mirroring some specification document for easy cross-referencing). |
Beta Was this translation helpful? Give feedback.
-
A separate YAML file that looks for the same file extension? |
Beta Was this translation helpful? Give feedback.
-
I went with a separate file with this detection scheme:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to add the Raspberry Pi Pico (ARMv6-M) instructions to the asm.yaml syntax highlighting file, but I'd like some clarification about the file structure. Within the statement sections there doesn't appear to be any order. I can just make a line for each category of instruction?...Like putting all of the branch instructions on a separate line? Alphabetizing matters within a line, but not across all lines of the section?
Beta Was this translation helpful? Give feedback.
All reactions