Browse Source

More x86 registers. Closes #302

dev/git-series/gccdum
Matt Godbolt 6 years ago
parent
commit
ab5ed21fb5
  1. 4
      static/asm-mode.js

4
static/asm-mode.js

@ -34,7 +34,7 @@ define(function (require) {
// C# style strings
escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
registers: /%?\b(r[0-9]+[dbw]?|([er]?(a[xhl]|c[xhl]|d[xhl]|cs|fs|ds|ss|sp|bp|ip|sil?|dil?))|[xyz]mm[0-9]+|sp|fp|lr)\b/,
registers: /%?\b(r[0-9]+[dbw]?|([er]?([abcd][xhl]|cs|fs|ds|ss|sp|bp|ip|sil?|dil?))|[xyz]mm[0-9]+|sp|fp|lr)\b/,
intelOperators: /PTR|(D|Q|[XYZ]MM)?WORD/,
@ -121,4 +121,4 @@ define(function (require) {
monaco.languages.register({id: 'asm'});
monaco.languages.setMonarchTokensProvider('asm', definition());
});
});

Loading…
Cancel
Save