如何用ultraedit高亮显示汇编和arm汇编
1个回答
推荐于2016-06-23
展开全部
找到ultraedit的wordfile文件,默认在C:\Program Files\UltraEdit文件夹下,打开在文件结尾加上一下的这段话,保存退出就可以了,呵呵,很方便
/L14"ARM Assembler" Line Comment = Line Comment Alt = \ Block Comment On = REM String Chars = " Escape Char = " File Extensions = s arm
/Delimiters = !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
/Function String = "%[^t ]++.^([A-Za-z0-9_]+^)[^t ]++$"
/C1"Branch"
** B b BL bl BX bx BLX blx
/C2"Data-Processing"
** AND and EOR eor SUB sub RSB rsb ADD add ADC adc SBC sbc RSC rsc TST tst TEQ teq CMP cmp CMN cmn ORR orr MOV mov BIC bic MVN mvn LSL lsl LSR lsr ASL asl ASR asr ROR ror RRX rrx NEG neg
/C3"Multiply"
** MUL mul MLA mla SMULL smull UMULL umull SMLAL smlal UMLAL umlal
/C4"Load and Store"
** LDR ldr STR str LDM ldm STM stm SWP swp PUSH push POP pop
/C5"Exception"
** SWI swi BKPT bkpt
/C6"Miscellaneous"
** CLZ clz MRS mrs MSR msr CDP cdp MRC mrc MCR mcr LDC ldc STC stc
/C7"Directives"
** OPT EXT EQU DC ALIGN ADR RN FN DIV SQR SWAP VDU NOP BRK SMUL UMUL SMLA UMLA LDF STF ASSERT FILL FILE COND HEAD ORG CN CP DN EXPORT GLOBAL EXTERN FN GBL IMPORT KEEP LCL RLIST RN SET SN ALIGN DATA DC FIELD LTORG MAP SPACE ELSE ENDIF GET INCLUDE IF INCBIN MACRO MEND MEXIT WEND WHILE ENDFUNC ENDP FRAME ADDRESS POP PUSH REGISTER RESTORE SAVE STATE REMEMBER RESTORE FUNCTION PROC AREA ASSERT CODE16 CODE32 CODE READONLY END ENTRY INFO NOFP OPT REQUIRE ROUT SUBT TTL VFPASSERT SCALAR VECTOR ADR FLD LDF NOP
/C8"Registers"
A1 A2 A3 A4
F0 F1 F2 F3 F4 F5 F6 F7 FP
IP
LR
PC
R0 R1 R10 R11 R12 R13 R14 R15 R2 R3 R4 R5 R6 R7 R8 R9
SL SP
V1 V2 V3 V4 V5 V6
a1 a2 a3 a4
f0 f1 f2 f3 f4 f5 f6 f7 fp
ip
lr
pc
r0 r1 r10 r11 r12 r13 r14 r15 r2 r3 r4 r5 r6 r7 r8 r9
sl sp
v1 v2 v3 v4 v5 v6
/L15"ASM" Nocase Line Comment = ; File Extensions = ASM INC DEF
/Delimiters = ~!%&^*()-+=|\/{}[]:;"'<> ,
/Function String = "^(%[a-zA-Z_@?$]+[ ^t]^)+proc+[ ^t^p]"
/C1"Opcodes"
aaa aad aam aas adc add and arpl
bound bsf bsr bswap bt btc btr
call cbw cwd cdq clc cld cli clts cmc cmova cmovae cmovb cmovbe cmovc cmove
cmovg cmovge cmovl cmovle cmovna cmovnae cmovnb cmovnbe cmovnc cmovne cmovng
cmovnge cmovnl cmovnle cmovno cmovnp cmovns cmovnz cmovo cmovpo cmovs comvz
cmp cmpsb cmpsd cmpxchg cmpxchg8b cpuid
daa das dec div dbld dbstp
emms enter
f2xm1 fabs fadd faddp fiadd fchs fclex fnclex fcmovb fcmove fcmovbe fcmovu
fcmovnb fcmovne fcmovnbe fcmovnu fcom fcomp fcompp fcomi fcomip fcos fdecstp
fdiv fdivp fidiv fdivr fdivrp fidivr ffree ficom ficomp fild fincstp finit fninit
fist fistp fld fld1 fldl2t fld2e fldpi fldlg2 fldln2 fldz fldcq fldenv
fmul fmulp fimul fnop fpatan fprem fprem1 fptan frndint frstor fsave fnsave
fscale fsin fsincos fsqrt fst fstp fstcw fnstcw fstenv fnstenv fstsw fnstsw fsub
fsubp fisub fsubr fsubrp fisubr ftst fucom fucomp fucompp fxam fxch fxtract
fyl2x fyl2xp1
hlt
idiv imul in inc ins int into invd invlpg iretd
ja jae jbe jc jecxz je jg jge jl jle jne jno jns jo
jpe jpo js ja jae jb jbe je jg jge jl jle jne jno jns jo
jpe jpo js jmp
lahf lar lds lea leave les lfs lgs lgdt lidt lldt lmsw
lock lods loop loope loopz loopne loopnz lsl lss ltr
mov movd movq movs movsx mul
neg nop not
or out outs
packsswb packssdw packuswb paddb paddw paddd paddsb paddsw paddusb paddusw
pand pandn pcmpeqb pcmpeqw pcmpeqd pcmpgtb pcmpgtw pcmpgtd pmaddwd pmulhw
pmullw pop popad popfd por psllw pslld psllq psraw psrad psrlw psrld psrlq
psubb psubw psubd psubsb psubsw psubusb psubusw punpckhbw punpckhwd
punpckhdq punpcklbw punpcklwd punpckldq push pushad pushfd pxor
rcl rcr rol ror rdmsr rdpmc rdtsc rep ret
setae setb sete setg setge setl setle setne setno setns seto setpe setpo
sets sgdt sidt shld shld shrd sldt smsw stc std sti str sub
stos cmps scas cmps ret rsm sahf sal sar shl shr sbb seta
test
ud2
verr verw
wait fwait wbinvd wrmsr
xadd xchg xlat xor
/C2"Registers"
al ah ax
bp bh bl bx
cl cx ecx ch
dl dx di dh
ecx edx ebx eax esp ebp esi edi
sp si st st(0) st(1) st(2) st(3) st(4) st(5) st(6) st(7)
mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7
xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7
/C3"Reserved words 1"
.CODE .CONST .CONTINUE .CREF
.DATA .DATA?
.ERR .ERRB .ERRNB .ERRDEF .ERRNDEF .ERRDIF .ERRIDN .ERRE .ERRNZ .ELSE .ELSEIF
.ENDIF .ENDW .UNTIL
.IF
.LIST .LISTALL .LISTIF .LISTMACRO .LISTMACROALL
.MODEL .NOLIST .NOLISTIF .NOLISTMACRO
.RADIX .REPEAT
.TFCOND
.WHILE
ALIGN ASSUME
BREAK
COMMENT CASEMAP
DOTNAME NODOTNAME
ECHO END ENDM EQU ENDP EXITM EXTERNDEF EXTERN EMULATOR EPILOGUE
EXPR16 EXPR32 ENDS ENDIF ENDW
FOR FORC
GOTO
IF INCLUDE INCLUDELIB INVOKE
LABEL LOCAL LJMP LANGUAGE
MACRO
NOREADONLY NOSCOPED NOLJMP NOEMULATOR NOKEYWORD NOSIGNEXTEND
OPTION OFFSET ORG
PROLOGUE PROC PROC PROTO PUBLIC PURGE PUSHCONTEXT POPCONTEXT
READONLY RECORD REPEAT
SCOPED SEGMENT STRUCT
TYPEDEF TEXTEQU
UNION USES
WHILE
/C4"Reserved words 2"
ADDR
BYTE
CATSTRINSTR
DUP DB DW DD DF DQ DT DWORD
FWORD
HIGH HIGHWORD
LOW LOWWORD LENGTHOF LENGTH LROFFSET
MASK
NULL
OFFSET OPATTR
PTR
QWORD
REAL4 REAL8 REAL10
SIZEOF SIZE SHORT SIZESTR SUBSTR SBYTE SWORD SDWORD STDCALL
THIS TYPE TBYTE
WIDTH WORD
/C5"Operators"
!
%
&
*
+
,
-
// /
>
=
<
|
/L14"ARM Assembler" Line Comment = Line Comment Alt = \ Block Comment On = REM String Chars = " Escape Char = " File Extensions = s arm
/Delimiters = !"#$%&'()*+,-./:;<=>?@[\]^_`{|}~
/Function String = "%[^t ]++.^([A-Za-z0-9_]+^)[^t ]++$"
/C1"Branch"
** B b BL bl BX bx BLX blx
/C2"Data-Processing"
** AND and EOR eor SUB sub RSB rsb ADD add ADC adc SBC sbc RSC rsc TST tst TEQ teq CMP cmp CMN cmn ORR orr MOV mov BIC bic MVN mvn LSL lsl LSR lsr ASL asl ASR asr ROR ror RRX rrx NEG neg
/C3"Multiply"
** MUL mul MLA mla SMULL smull UMULL umull SMLAL smlal UMLAL umlal
/C4"Load and Store"
** LDR ldr STR str LDM ldm STM stm SWP swp PUSH push POP pop
/C5"Exception"
** SWI swi BKPT bkpt
/C6"Miscellaneous"
** CLZ clz MRS mrs MSR msr CDP cdp MRC mrc MCR mcr LDC ldc STC stc
/C7"Directives"
** OPT EXT EQU DC ALIGN ADR RN FN DIV SQR SWAP VDU NOP BRK SMUL UMUL SMLA UMLA LDF STF ASSERT FILL FILE COND HEAD ORG CN CP DN EXPORT GLOBAL EXTERN FN GBL IMPORT KEEP LCL RLIST RN SET SN ALIGN DATA DC FIELD LTORG MAP SPACE ELSE ENDIF GET INCLUDE IF INCBIN MACRO MEND MEXIT WEND WHILE ENDFUNC ENDP FRAME ADDRESS POP PUSH REGISTER RESTORE SAVE STATE REMEMBER RESTORE FUNCTION PROC AREA ASSERT CODE16 CODE32 CODE READONLY END ENTRY INFO NOFP OPT REQUIRE ROUT SUBT TTL VFPASSERT SCALAR VECTOR ADR FLD LDF NOP
/C8"Registers"
A1 A2 A3 A4
F0 F1 F2 F3 F4 F5 F6 F7 FP
IP
LR
PC
R0 R1 R10 R11 R12 R13 R14 R15 R2 R3 R4 R5 R6 R7 R8 R9
SL SP
V1 V2 V3 V4 V5 V6
a1 a2 a3 a4
f0 f1 f2 f3 f4 f5 f6 f7 fp
ip
lr
pc
r0 r1 r10 r11 r12 r13 r14 r15 r2 r3 r4 r5 r6 r7 r8 r9
sl sp
v1 v2 v3 v4 v5 v6
/L15"ASM" Nocase Line Comment = ; File Extensions = ASM INC DEF
/Delimiters = ~!%&^*()-+=|\/{}[]:;"'<> ,
/Function String = "^(%[a-zA-Z_@?$]+[ ^t]^)+proc+[ ^t^p]"
/C1"Opcodes"
aaa aad aam aas adc add and arpl
bound bsf bsr bswap bt btc btr
call cbw cwd cdq clc cld cli clts cmc cmova cmovae cmovb cmovbe cmovc cmove
cmovg cmovge cmovl cmovle cmovna cmovnae cmovnb cmovnbe cmovnc cmovne cmovng
cmovnge cmovnl cmovnle cmovno cmovnp cmovns cmovnz cmovo cmovpo cmovs comvz
cmp cmpsb cmpsd cmpxchg cmpxchg8b cpuid
daa das dec div dbld dbstp
emms enter
f2xm1 fabs fadd faddp fiadd fchs fclex fnclex fcmovb fcmove fcmovbe fcmovu
fcmovnb fcmovne fcmovnbe fcmovnu fcom fcomp fcompp fcomi fcomip fcos fdecstp
fdiv fdivp fidiv fdivr fdivrp fidivr ffree ficom ficomp fild fincstp finit fninit
fist fistp fld fld1 fldl2t fld2e fldpi fldlg2 fldln2 fldz fldcq fldenv
fmul fmulp fimul fnop fpatan fprem fprem1 fptan frndint frstor fsave fnsave
fscale fsin fsincos fsqrt fst fstp fstcw fnstcw fstenv fnstenv fstsw fnstsw fsub
fsubp fisub fsubr fsubrp fisubr ftst fucom fucomp fucompp fxam fxch fxtract
fyl2x fyl2xp1
hlt
idiv imul in inc ins int into invd invlpg iretd
ja jae jbe jc jecxz je jg jge jl jle jne jno jns jo
jpe jpo js ja jae jb jbe je jg jge jl jle jne jno jns jo
jpe jpo js jmp
lahf lar lds lea leave les lfs lgs lgdt lidt lldt lmsw
lock lods loop loope loopz loopne loopnz lsl lss ltr
mov movd movq movs movsx mul
neg nop not
or out outs
packsswb packssdw packuswb paddb paddw paddd paddsb paddsw paddusb paddusw
pand pandn pcmpeqb pcmpeqw pcmpeqd pcmpgtb pcmpgtw pcmpgtd pmaddwd pmulhw
pmullw pop popad popfd por psllw pslld psllq psraw psrad psrlw psrld psrlq
psubb psubw psubd psubsb psubsw psubusb psubusw punpckhbw punpckhwd
punpckhdq punpcklbw punpcklwd punpckldq push pushad pushfd pxor
rcl rcr rol ror rdmsr rdpmc rdtsc rep ret
setae setb sete setg setge setl setle setne setno setns seto setpe setpo
sets sgdt sidt shld shld shrd sldt smsw stc std sti str sub
stos cmps scas cmps ret rsm sahf sal sar shl shr sbb seta
test
ud2
verr verw
wait fwait wbinvd wrmsr
xadd xchg xlat xor
/C2"Registers"
al ah ax
bp bh bl bx
cl cx ecx ch
dl dx di dh
ecx edx ebx eax esp ebp esi edi
sp si st st(0) st(1) st(2) st(3) st(4) st(5) st(6) st(7)
mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7
xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7
/C3"Reserved words 1"
.CODE .CONST .CONTINUE .CREF
.DATA .DATA?
.ERR .ERRB .ERRNB .ERRDEF .ERRNDEF .ERRDIF .ERRIDN .ERRE .ERRNZ .ELSE .ELSEIF
.ENDIF .ENDW .UNTIL
.IF
.LIST .LISTALL .LISTIF .LISTMACRO .LISTMACROALL
.MODEL .NOLIST .NOLISTIF .NOLISTMACRO
.RADIX .REPEAT
.TFCOND
.WHILE
ALIGN ASSUME
BREAK
COMMENT CASEMAP
DOTNAME NODOTNAME
ECHO END ENDM EQU ENDP EXITM EXTERNDEF EXTERN EMULATOR EPILOGUE
EXPR16 EXPR32 ENDS ENDIF ENDW
FOR FORC
GOTO
IF INCLUDE INCLUDELIB INVOKE
LABEL LOCAL LJMP LANGUAGE
MACRO
NOREADONLY NOSCOPED NOLJMP NOEMULATOR NOKEYWORD NOSIGNEXTEND
OPTION OFFSET ORG
PROLOGUE PROC PROC PROTO PUBLIC PURGE PUSHCONTEXT POPCONTEXT
READONLY RECORD REPEAT
SCOPED SEGMENT STRUCT
TYPEDEF TEXTEQU
UNION USES
WHILE
/C4"Reserved words 2"
ADDR
BYTE
CATSTRINSTR
DUP DB DW DD DF DQ DT DWORD
FWORD
HIGH HIGHWORD
LOW LOWWORD LENGTHOF LENGTH LROFFSET
MASK
NULL
OFFSET OPATTR
PTR
QWORD
REAL4 REAL8 REAL10
SIZEOF SIZE SHORT SIZESTR SUBSTR SBYTE SWORD SDWORD STDCALL
THIS TYPE TBYTE
WIDTH WORD
/C5"Operators"
!
%
&
*
+
,
-
// /
>
=
<
|
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
微测检测5.10
2023-05-10 广告
2023-05-10 广告
您好!建议咨 深圳市微测检测有限公司,已建立起十余个专业实验室,企业通过微测检测就可以获得一站式的测试与认 证解决方案;(EMC、RF、MFi、BQB、QI、USB、安全、锂电池、快充、汽车电子EMC、汽车手机互 联、语音通话质量),认证遇...
点击进入详情页
本回答由微测检测5.10提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询