editplus怎么写汇编程序
发布网友
发布时间:2022-04-22 18:32
我来回答
共3个回答
热心网友
时间:2023-11-15 12:34
新建一个makeasm.bat文件,内容如下:
@echo off
set file= %1
"D:\Program Files\EditPlus 3\masm.exe" %file%.asm;
"D:\Program Files\EditPlus 3\link.exe" %file%.obj;
debug %file%.exe
然后添加一个用户工具,
命令设置为:D:\Program Files\EditPlus 3\makeasm.bat
参数设置为:$(FileNameNoExt)
起始目录设置为:$(FileDir)
新建一个语法文件asm.stx,内容如下:
#TITLE=ASM
; Assemble syntax file written by LuoYunBin
#DELIMITER=,(){}[]-+*%/="''''~!&|<>?:;.#
#QUOTATION1=''''
#QUOTATION2="
#CONTINUE_QUOTE=n
#LINECOMMENT=;
#LINECOMMENT2=
#COMMENTON=
#COMMENTOFF=
#COMMENTON2=
#COMMENTOFF2=
#ESCAPE=/
#CASE=n
#PREFIX1=
#PREFIX2=
#PREFIX3=
#PREFIX4=
#PREFIX5=
#SUFFIX1=
#SUFFIX2=
#SUFFIX3=
#SUFFIX4=
#SUFFIX5=
#KEYWORD=Compiler directives
include
includelib
define
286
386
486
586
model
data
segment
code
const
begin
ends
end
proc
endp
local
option
proto
struct
stack
start
#KEYWORD=Assume & Macro
if
elseif
else
endif
repeat
until
untilcxz
while
endw
break
continue
macro
endm
exitm
for
forc
goto
word
byte
dword
qword
real4
real8
real10
tbyte
db
dw
dd
dq
ptr
near
far
short
extrn
equ
offset
addr
invoke
flat
stdcall
casemap
none
uses
popup
menuitem
font
caption
style
exstyle
discardable
icon
bitmap
cursor
menu
stringtable
dialog
dialogex
edittext
defpushbutton
pushbutton
ltext
control
lib
assume
nothing
#KEYWORD=instruction
aaa
aad
aam
aas
adc
add
and
arpl
bound
call
cbw
clc
cld
cli
clts
cmc
cmp
cmpsb
cmpsw
cwd
daa
das
dec
div
enter
esc
hlt
idiv
imul
in
inc
insb
insw
int
into
iret
ja
jae
jb
jbe
jcxz
je
jg
jge
jl
jle
jmp
jnb
jnbe
jne
jnle
jno
jnp
jnz
jpo
jz
jo
jp
js
jns
lahf
lar
lds
lea
leave
les
lgdt
lidt
lldt
lmsw
lock
lodsb
lodsw
loop
loopnz
loopz
lsl
ltr
mov
movsb
movsw
mul
neg
nop
not
or
out
outsb
outsw
pop
popa
popf
push
pusha
pushf
rcl
rep
repnz
repz
ret
reft
rol
ror
sahf
sar
sbb
scasb
scasw
sgdt
shl
shr
sldt
smsw
stc
std
sti
stosb
stosw
str
sub
test
wait
verr
verw
xchg
xlat
xor
bsf
bsr
bt
btc
btr
bts
cdq
cwde
iretd
lfs
lgs
lss
movsx
movzx
popad
popfd
pushad
pushfd
seta
setb
setbe
sete
setg
setl
setle
setnb
setne
setnl
setno
setnp
setns
seto
setp
sets
shld
shrd
cmpsd
stosd
lodsd
movsd
scasd
insd
outsd
jecxz
bswap
cmpxchg
invd
invlpg
wbinvd
xadd
fabs
fadd
faddp
fbld
fbstp
fchs
fclex
fcom
fcomp
fcompp
fdecstp
fdisi
fdiv
fdivp
fdivr
fdivrp
feni
ffree
fiadd
fiacom
fiacomp
fidiv
fidivr
fild
fimul
fincstp
finit
fist
fistp
fisub
fisubr
fld
fldcwr
fldenv
fldlg2
fldln2
fldl2e
fldl2t
fldpi
fldz
fld1
fldcw
fmul
fmulp
fnop
fnsts
fpatan
fprem
fptan
frndint
fsavent
fscale
fsetpm
fsqrt
fst
fstcw
fstenv
fstp
fstsw
fsub
fsubp
fsubr
fsubrp
ftst
fwait
fxam
fxch
fxtract
fyl2x
fyl2xpi
f2xm1
fcos
fsin
fprem1
fsincos
fucom
fucomp
fucompp
#KEYWORD=CPU Registers
eax
ax
ah
al
ebx
bx
bh
bl
ecx
cx
ch
cl
edx
dx
dh
dl
esi
si
edi
di
esp
sp
ebp
bp
eflags
flags
cs
ds
es
ss
fs
gs
st
cr
dr
tr
gdtr
ldtr
idtr
cr0
cr2
cr3
cr4
dr0
dr1
dr2
dr3
dr6
dr7
tr3
tr4
tr5
tr6
tr7
st0
st1
st2
st3
st4
st5
st6
st7
mm0
mm1
mm2
mm3
mm4
mm5
mm6
mm7
xmm0
xmm1
xmm2
xmm3
xmm4
xmm5
xmm6
xmm7
热心网友
时间:2023-11-15 12:34
Editplus是文本编辑软件,所有的编辑软件都可以用来写汇编程序。
个人推荐你用 masmplus 编写
热心网友
时间:2023-11-15 12:35
http://zhidao.baidu.com/question/16380534265689020.html?fr=qlquick