In trying to get assembly highlighting to work, I added this file to this project, and imported it.
This is essentially a copy of the gas.js mode, which I couldn't figure out how to make work on its own, but the mode is renamed to "x86asm" and hardcoded to use x86 assembly.
Originally, I did try using something like
```gas
mov eax, -1
But that didn't work.
This file adds highlighting for register names and some other bits of syntax. It doesn't recognize assembly instructions, unfortunately, although it seems like that might have to be custom added or converted from (say) another format like https://github.com/13xforever/x86-assembly-textmate-bundle
In any case, this file does get me highlighting in the editor even though obsidian doesn't highlight assembly in the preview at all.
In trying to get assembly highlighting to work, I added this file to this project, and imported it.
This is essentially a copy of the gas.js mode, which I couldn't figure out how to make work on its own, but the mode is renamed to "x86asm" and hardcoded to use x86 assembly.
Originally, I did try using something like