8086指令系统一览表

附 录

附录一 ASCII码表

332

附录二 8086指令系统一览表

类型 数 据 传 送 类 汇编指令格式 MOV dst, src 功 能 (dst) ← (src) 操作数说明 mem, reg reg, mem reg, reg reg, imm mem, imm seg, reg seg, mem mem, seg reg, seg mem, acc acc, mem PUSH src (SP) ← (SP)-2 ((SP)+1, (SP)) ← (src) POP dst (dst) ← ((SP)+1, (SP)) (SP) ← (SP)+2 XCHG op1, op2 (op1) ←→ (op1) reg seg mem reg seg mem reg, mem reg, reg reg, acc IN acc, port IN acc, DX OUT port, acc OUT DX, acc XLAT LEA reg, src LDS reg, src LES reg, src LAHF SAHF PUSHF POPF (acc) ← (port) (acc) ← ((DX)) (port) ← (acc) ((DX)) ← (acc) (reg) ← src (reg) ← src (DS) ← (src+2) (reg) ← src (ES) ← (src+2) (AH) ← (FR低字节) (FR低字节) ← (AH) (SP) ← (SP)-2 ((SP)+1, (SP)) ← (FR低字节) (FR低字节) ← ((SP)+1, (SP)) (SP) ← (SP)+2 8 1 4 4 10 1 1 1 reg, mem 16+EA 2 ~ 4 reg, mem reg, mem 时钟周期数 9+EA 8+EA 2 4 10+EA 2 8+EA 9+EA 2 10 10 11 10 16+EA 8 8 17+EA 17+EA 4 3 10 8 10 8 11 2+EA 16+EA 字节数 2 ~ 4 2 ~ 4 2 2 ~ 3 3 ~ 6 2 2 ~ 4 2 ~ 4 2 3 3 1 1 2 ~ 4 1 1 2 ~ 4 2 ~ 4 2 1 2 1 2 1 1 2 ~ 4 2 ~ 4 333

算 术 运 算 类 ADD dst, src (dst) ← (src) + (dst) mem, reg reg, mem reg, reg reg, imm mem, imm acc, imm 16+EA 9+EA 3 4 17+EA 4 16+EA 9+EA 3 4 17+EA 4 2 ~ 3 15+EA 16+EA 9+EA 3 4 17+EA 4 16+EA 9+EA 3 4 17+EA 4 2 ~ 3 15+EA 3 16+EA 9+EA 9+EA 3 4 10+EA 4 70 ~ 77 (76 ~ 83)+EA 118 ~ 133 (124 ~ 139)+EA 80 ~ 98 (86 ~ 104)+EA 128 ~ 154 (134 ~ 160)+EA 2 ~ 4 2 ~ 4 2 3 ~ 4 3 ~ 6 2 ~ 3 2 ~ 4 2 ~ 4 2 3 ~ 4 3 ~ 6 2 ~ 3 1 ~ 2 2 ~ 4 2 ~ 4 2 ~ 4 2 3 ~ 4 3 ~ 6 2 ~ 3 2 ~ 4 2 ~ 4 2 3 ~ 4 3 ~ 6 2 ~ 3 1 ~ 2 2 ~ 4 2 2 ~ 4 2 ~ 4 2 ~ 4 2 3 ~ 4 3 ~ 6 2 ~ 3 2 2 ~ 4 2 2 ~ 4 2 2 ~ 4 2 2 ~ 4 334

ADC dst, src (dst) ← (src) + (dst) + CF mem, reg reg, mem reg, reg reg, imm mem, imm acc, imm INC op1 SUB dst, src (op1) ← (op1)+1 (dst) ← (src) - (dst) reg mem mem, reg reg, mem reg, reg reg, imm mem, imm acc, imm SBB dst, src (dst) ← (src) - (dst) - CF mem, reg reg, mem reg, reg reg, imm mem, imm acc, imm DEC op1 NEG op1 CMP op1, op2 (op1) ← (op1) - 1 (op1) ← 0 - (op1) (op1) - (op2) reg mem reg mem mem, reg reg, mem reg, reg reg, imm mem, imm acc, imm MUL src (AX) ← (AL) * (src) (DX, AX) ← (AX) * (src) 8位reg 8位mem 16位reg 16位mem 8位reg 8位mem 16位reg 16位mem IMUL src (AX) ← (AL) * (src) (DX, AX) ← (AX) * (src)

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4