angesbobo
发表于 2021-3-21 01:55:46
{:10_256:}来对对答案
+++++u吧
发表于 2021-3-21 14:20:52
我想看答案铁子
chandlier
发表于 2021-3-21 16:58:44
好东西!!谢谢楼主分享。
285583335
发表于 2021-3-22 09:39:28
汇编语言答案
linwenzheng
发表于 2021-3-22 10:24:07
。。
linwenzheng
发表于 2021-3-22 10:24:42
汇编语言答案
Chamber1
发表于 2021-3-22 13:19:42
谢谢楼主分享。
雨雨天
发表于 2021-3-22 14:15:06
顶
hanroject
发表于 2021-3-23 09:03:22
111
怪谈协会
发表于 2021-3-23 10:16:49
666
Itayama_hotaru
发表于 2021-3-23 13:17:56
感谢!!!
落花盈满绣!
发表于 2021-3-23 17:00:42
{:9_227:}
永远的小白123
发表于 2021-3-24 07:17:53
谢谢
worizhangjingsi
发表于 2021-3-25 05:51:58
附: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)
汇编指令的英文全称
一、数据传送指令
1. 通用数据传送指令.
MOV----> move
MOVSX---->extended move with sign data
MOVZX---->extended move with zero data
PUSH---->push
POP---->pop
PUSHA---->push all
POPA---->pop all
PUSHAD---->push all data
POPAD---->pop all data
BSWAP---->byte swap
XCHG---->exchange
CMPXCHG---->compare and change
XADD---->exchange and add
XLAT---->translate
2. 输入输出端口传送指令.
IN---->input
OUT---->output
3. 目的地址传送指令.
LEA---->load effective address
LDS---->load DS
LES---->load ES
LFS---->load FS
LGS---->load GS
LSS---->load SS
4. 标志传送指令.
LAHF---->load AH from flag
SAHF---->save AH to flag
PUSHF---->push flag
POPF---->pop flag
PUSHD---->push dflag
POPD---->pop dflag
二、算术运算指令
ADD---->add
ADC---->add with carry
INC---->increase 1
AAA---->ascii add with adjust
DAA---->decimal add with adjust
SUB---->substract
SBB---->substract with borrow
DEC---->decrease 1
NEC---->negative
CMP---->compare
AAS---->ascii adjust on substract
DAS---->decimal adjust on substract
MUL---->multiplication
IMUL---->integer multiplication
AAM---->ascii adjust on multiplication
DIV---->divide
IDIV---->integer divide
AAD---->ascii adjust on divide
CBW---->change byte to word
CWD---->change word to double word
CWDE---->change word to double word with sign to EAX
CDQ---->change double word to quadrate word
三、逻辑运算指令
AND---->and
OR---->or
XOR---->xor Exclusive OR
NOT---->not
TEST---->test
SHL---->shift left
SAL---->arithmatic shift left 算术
SHR---->shift right
SAR---->arithmatic shift right
ROL---->rotate left
ROR---->rotate right
RCL---->rotate left with carry
RCR---->rotate right with carry
四、串指令
MOVS---->move string
CMPS---->compare string
SCAS---->scan string
LODS---->load string
STOS---->store string
REP---->repeat
REPE---->repeat when equal
REPZ---->repeat when zero flag
REPNE---->repeat when not equal
REPNZ---->repeat when zero flag
REPC---->repeat when carry flag
REPNC---->repeat when not carry flag
五、程序转移指令
1 > 无条件转移指令 (长转移)
JMP---->jump
CALL---->call
RET---->return
RETF---->return far
2 > 条件转移指令 (短转移,-128 到 + 127 的距离内)
JAE---->jump when above or equal
JNB---->jump when not below
JB---->jump when below
JNAE---->jump when not above or equal
JBE---->jump when below or equal
JNA---->jump when not above
JG---->jump when greater
JNLE---->jump when not less or equal
JGE---->jump when greater or equal
JNL---->jump when not less
JL---->jump when less
JNGE---->jump when not greater or equal
JLE---->jump when less or equal
JNG---->jump when not greater
JE---->jump when equal
JZ---->jump when has zero flag
JNE---->jump when not equal
JNZ---->jump when not has zero flag
JC---->jump when has carry flag
JNC---->jump when not has carry flag
JNO---->jump when not has overflow flag
JNP---->jump when not has parity flag
JPO---->jump when parity flag is odd
JNS---->jump when not has sign flag
JO---->jump when has overflow flag
JP---->jump when has parity flag
JPE---->jump when parity flag is even
JS---->jump when has sign flag
3 > 循环控制指令 (短转移)
LOOP---->loop
LOOPE---->loop equal
LOOPZ---->loop zero
LOOPNE---->loop not equal
LOOPNZ---->loop not zero
JCXZ---->jump when CX is zero
JECXZ---->jump when ECX is zero
4 > 中断指令
INT---->interrupt
INTO---->overflow interrupt
IRET---->interrupt return
5 > 处理器控制指令
HLT---->halt
WAIT---->wait
ESC---->escape
LOCK---->lock
NOP---->no operation
STC---->set carry
CLC---->clear carry
CMC---->carry make change
STD---->set direction
CLD---->clear direction
STI---->set interrupt
CLI---->clear interrupt
六、伪指令
DW---->definw word
PROC---->procedure
ENDP---->end of procedure
SEGMENT---->segment
ASSUME---->assume
ENDS---->end segment
END---->end
Move)
MOVC (Move Code)
MOVX (Move External)
XCH (Exchange)
PUSH
POP
AJMP (Absolute Jump)
LJMP (Long Jump)
SJMP (Short Jump)
JMP (Jump Indirect)
JZ (Jump Zero)
JNZ (Jump Not Zero)
JC (Jump if Carry)
JNC (Jump if Not Carry)
JB (Jump if Bit is set)
JNB (Jump if Not Bit)
JBC (If Bit is set and Clear Bit)
CJNE (Compare and Jump if Not Equal)
DJNZ (Decrement and Jump if Not Zero)
ACALL (Absolute Call)
LCALL(Long Call)
RET (Return)
NOP (No Operation)
ADD
ADDC(Add with Carry)
SUBB (Substract with Borrow)
MUL (Multiply)
DIV (Divide)
INC (Increment)
DEC (Decrement)
ANL (Logical AND)
ORL (Logical OR)
XRL (Logical Exclusive OR)
CPL (Complement)
CLR (Clear)
SEBT (Set Bit)
RL (Rotate Left)
RR (Rotate Right)
RLC (Rotate Left throught the Carry flag)
RRC (Rotate Right throught the Carry flag)
XCHD
SWAP
DA (Decimal Adjust)
ORG (Origin)
DB (Define Byte)
DW (Define Word)
EQU (Equal)
DATA
XDATA (External Data)
BIT
END
longwayya
发表于 2021-3-26 22:57:20
支持
zzj8766
发表于 2021-3-27 08:38:11
学习学习 感谢
angel1374
发表于 2021-3-27 21:41:38
{:10_254:}{:10_254:}{:10_254:}{:10_254:}{:10_254:}{:10_254:}{:10_254:}{:10_254:}{:10_254:}{:10_254:}
812108605
发表于 2021-3-27 21:52:49
初学者来学习,初学者来学习
lclaixuexi
发表于 2021-3-28 14:17:07
Man
JD_HUANGY
发表于 2021-3-28 17:18:09
楼主牛!