diff --git a/CHANGELOG.md b/CHANGELOG.md index 22de350..5ae180d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ - [csharp] support record, the new type keyword - [csharp] support C# 11 raw strings - [cpp] add support for C++11 string literals +- [asm] add new registers, blocks. New masks for filenames and firstline ## [1.2.0] - 2021-09-12 diff --git a/hrc/hrc/base/asm.hrc b/hrc/hrc/base/asm.hrc index 0431f99..65a65e3 100644 --- a/hrc/hrc/base/asm.hrc +++ b/hrc/hrc/base/asm.hrc @@ -48,39 +48,83 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1141,6 +1185,7 @@ + @@ -1211,12 +1256,19 @@ + + + + + + diff --git a/hrc/hrc/proto.hrc b/hrc/hrc/proto.hrc index 40748c0..b4dff6e 100644 --- a/hrc/hrc/proto.hrc +++ b/hrc/hrc/proto.hrc @@ -74,8 +74,33 @@ - /\.(mac|asm|inc|i32|cod)$/i + /\.(asm|fasm|nasm|masm|tasm|uasm|farm|fasmarm|asmarm|s|inc|i32|cod|asi|mac)$/i /^\s*;/ + /^\s*\.model\b/i + /^\s*\.8086\b/ + /^\s*\.186\b/ + /^\s*\.286p?\b/i + /^\s*p286\b/i + /^\s*\.386p?\b/i + /^\s*p386\b/i + /^\s*\.486p?\b/i + /^\s*p486\b/i + /^\s*\.586p?\b/i + /^\s*p586\b/i + /^\s*\.686p?\b/i + /^\s*p686\b/i + /^\s*\.?code\b/i + /^\s*\.?data\b/i + /^\s*\.?bss\b/i + /^\s*\.?stack\b/i + /^\s*org\b/i + /^\s*include\b/i + /^\s*format\b/i + /^\s*option\b/i + /^\s*bits\b/i + /^\s*use16\b/i + /^\s*use32\b/i + /^\s*use64\b/i