8080 汇编(国外英文资料).doc
文本预览下载声明
8080 汇编(国外英文资料)
(long transfer)
JMP transfer instructions unconditionally
CALL procedure CALL
RET/RETF process returns.
2 conditional transfer instructions (short transitions, -128 to + 127)
When and only if (SF XOR OF) = 1, OP1 OP2)
JA/JNBE is not less than or not equal to.
JAE/JNB is greater than or equal to the transfer.
JB/JNAE is less than the transfer.
JBE/JNA is less than or equal to the transfer.
All four, test the results of unsigned integer arithmetic (mark C and Z).
JG/JNLE is greater than the transfer.
JGE/JNL is greater than or equal to the transfer.
JL/JNGE is less than the transfer.
JLE/JNG is less than or equal to the transfer.
All four, test the result of the integer operation of the sign (S, O and Z).
JE/JZ is the transfer.
JNE/JNZ does not equal time transfer.
JC is moved when it is in.
The JNC is moved without a carry.
The JNO does not overflow.
The JNP/JPO parity is shifted when the odd is odd.
The JNS symbol is moved when 0.
JO overflow.
The JP/JPE parity is transferred when the evenness is even.
The JS symbol is moved when 1.
3 loop control instruction (short shift)
LOOP CX is not a zero cycle.
LOOPE/LOOPZ CX is not a zero and the Z = 1 cycle.
The LOOPNE/LOOPNZ CX is not zero and the Z = 0 cycle.
PUSH and POP
Function: press the operands into or out of the stack
Syntax: PUSH operands POP operands
PUSH r PUSH M PUSH data POP M
PUSHF POPF, PUSHA POPA
Function: stack instruction group
Format: PUSHF POPF PUSHA POPA
LEA, typical vmlinux.lds, LES
Function: take the address to register
Grammar: LEA r, m LDS r, m LES r, m
XLAT (XLATB)
Function: check list instructions
Syntax: XLAT XLAT m
Arithmetic instruction
ADD, ADC
Function: addition instructions
Syntax: ADD OP1, OP2 ADC OP1, OP2
Format: ADD r1, r2 ADD r, m ADD m, r ADD r, data
Effect: C, P, A, Z, S, O
SUB, SBB
Function: subtraction instruction
Syntax: SUB OP1, OP2 SBB OP1, OP2
Format: SUB r1, r2 SUB r, m SUB m, r SUB r, data SUB m, data
Effect: C, P, A, Z, S, O
INC and DEC
Function: add or sub
显示全部