现在的位置: 首页 > 综合 > 正文

汇编指令的英文全称

2013年12月18日 ⁄ 综合 ⁄ 共 2077字 ⁄ 字号 评论关闭

其实这个英文全称有助于记住指令,这就是为啥国外进步快的原因,因为是他们的本语。

查询时,对浏览器用Ctrl+F,弹出查询框时,输入指令就就可以快速知道(傲游3)

8086CPU提供以下几大类指令。  

一、数据传送指令  
比如,mov(move)、push、pop、pushf(push flags)、popf(pop flags)、xchg(exchange)等都是数据传送指令,这些指令实现寄存器和内存、寄存器和寄存器之间的单个数据传送。  

二、算术运算指令  
比如,add、sub(substract)、adc(add with carry)、 sbb(substract with borrow)、inc(increase)、dec(decrease)、cmp(compare)、 imul(integer multiplication)、idiv(integer divide)、 aaa(ASCII add with adjust)等都是算术运算指令,这些指令实现寄存器和内存中的数据运算。它们的执行结果影响标志寄存器的 sf、zf、of、cf、pf、af位。  

三、逻辑指令  
比如,and、or、not、xor(exclusive or)、test、shl(shift logic left)、 shr(shift logic right)、sal(shift arithmetic left)、 sar(shift arithmetic right)、rol(rotate left)、ror(rotate right)、 rcl(rotate left through carry)、rcr(rotate right through carry)等都是逻辑指令。除了 not指令外,它们的执行结果都影响标志寄存器的相关标志位。
 

四、转移指令  
可以修改IP,或同时修改CS和IP的指令统称为转移指令。转移指令分为一下几类。  
(1)    无条件转移指令,比如,jmp(jump);  
(2)    条件转移指令,比如,jcxz(jump if CX is zero)、je(jump if equal)、 jb(jump if below)、ja(jump if above)、jnb(jump if not below)、 jna(jump if not above)等;  
(3)    循环指令,比如,loop;  
(4)    过程,比如,call、ret(return)、retf(return far);  
(5)    中断,比如,int(interrupt)、iret(interrupt return)。  

五、处理机控制指令  
这些指令对标志寄存器或其他处理机状态进行设置,比如,cld(clear direction)、std(set direction)、 cli(clear interrupt)、sti(set interrupt)、nop(no operation)、 clc(clear carry)、cmc(carry make change)、stc(set carry)、hlt(halt)、wait、 esc(escape)、lock等都是处理机控制指令。  

六、串处理指令  
这些指令对内存中的批量数据进行处理,比如,movsb(move string byte)、 movsw(move string word)、cmps(compare string)、scas(scan string)、 lods(load string)、stos(store string)等。若要使用这些指令方便地进行批量数据处理,则需要和 rep(repeat)、repe(repeat if equal)、repne(repeat if not equal)等前缀指令配合使用。  

附:8086CPU寄存器英文全称  

1、通用寄存器  
AX(accumulator)、BX(base)、CX(count)、DX(data)这些寄存器可以字(16位)或字节(8位)单位形式访问;  
SP(stack pointer)、BP(base pointer)、SI(source index)、DI(destination index),这些寄存器只能以字(16位)单位形式访问。  

2、专用寄存器  
IP(instruction pointer)、SP(stack pointer);;  
FLAGS又称PSW(program status word)分为:  
①    条件码  
OF(overflow)、SF(sign)、ZF(zero)、CF(carry)、AF(auxiliary)、PF(parity)  
②    控制标志  
DF(direction)  
③    系统标志位  
TF(trap)、IF(interrupt)、IOPL(I/O privilege level)  

3、段寄存器  
CS(code)、DS(data)、SS(stack)、ES(extra)

 

引用地址:http://www.asmedu.net/blog/user/postcontent.jsp?neighborId=19480&kindId=29875&postId=33219&readSg=1&vs=1

抱歉!评论已关闭.