Assembly: add MASM x86/x86_64 lexer
See original GitHub issuesections highlight
MASM operators(not commands, some of them are in Assembly):
CARRY? OVERFLOW? PARITY? SIGN? ZERO? DUP MASK WIDTH EQ GE GT LE LT NE IMAGEREL LROFFSET OFFSET SECTIONREL SEG Type HIGH HIGH32 HIGHWORD LENGTH LENGTHOF LOW LOW32 LOWWORD OPATTR PTR SHORT SIZE SIZEOF THIS TYPE .TYPE
compiler directives:
.ALLOCSTACK .ENDPROLOG PROC .PUSHFRAME .PUSHREG .SAVEREG .SAVEXMM128 .SETFRAME ALIGN EVEN LABEL ORG ELSE ELSEIF ELSEIF2 IF IF2 IFB IFNB IFDEF IFNDEF IFDIF IFDIF IFE IFIDN IFIDN .BREAK .CONTINUE .ELSE .ELSEIF .ENDIF .ENDW .IF .REPEAT .UNTIL .UNTILCXZ .WHILE .ERR .ERR2 .ERRB .ERRDEF .ERRDIF .ERRE .ERRIDN .ERRNB .ERRNDEF .ERRNZ ALIGN BYTE SBYTE DWORD SDWORD EVEN FWORD LABEL ORG QWORD REAL4 REAL8 REAL10 TBYTE WORD SWORD = EQU TEXTEQU .CREF .LIST .LISTALL .LISTIF .LISTMACRO .LISTMACROALL .NOCREF .NOLIST .NOLISTIF .NOLISTMACRO PAGE SUBTITLE .TFCOND TITLE ENDM EXITM GOTO LOCAL MACRO PURGE ALIAS ASSUME COMMENT ECHO END .FPO INCLUDE INCLUDELIB MMWORD OPTION POPCONTEXT PUSHCONTEXT .RADIX .SAFESEH XMMWORD YMMWORD ENDP INVOKE PROC PROTO .386 .386P .387 .486 .486P .586 .586P .686 .686P .K3D .MMX .XMM ENDM FOR FORC GOTO REPEAT WHILE COMM EXTERN EXTERNDEF INCLUDELIB PUBLIC CATSTR INSTR SIZESTR SUBSTR ENDS RECORD STRUCT TYPEDEF UNION
segmentation directives:
.ALPHA ASSUME .DOSSEG END ENDS GROUP SEGMENT .SEQ .CODE .CONST .DATA .DATA? .DOSSEG .EXIT .FARDATA .FARDATA? .MODEL .STACK .STARTUP
Issue Analytics
- State:
- Created 5 years ago
- Comments:21 (21 by maintainers)
Top GitHub Comments
case insensitive - инструкции и регистры остальное - case sensitive
да