12.07.2015 Views

80C186EB/80C188EB Microprocessor User's Manual - CEUNES

80C186EB/80C188EB Microprocessor User's Manual - CEUNES

80C186EB/80C188EB Microprocessor User's Manual - CEUNES

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

INSTRUCTION SET DESCRIPTIONSTable C-4. Instruction Set (Continued)Name Description OperationFlagsAffectedJOJPJPEJSLAHFNOTE:Jump on Overflow:JO disp8Transfers control to the target locationif the tested condition (OF = 1) is true.Instruction Operands:JO short-labelJump on Parity:Jump on Parity Equal:JP disp8JPE disp8Transfers control to the target locationif the tested condition (PF = 1) is true.Instruction Format:JP short-labelJPE short-labelJump on Sign:JS disp8Transfers control to the target locationif the tested condition (SF = 1) is true.Instruction Format:JS short-labelLoad Register AH From Flags:LAHFCopies SF, ZF, AF, PF and CF (the8080/8085 flags) into bits 7, 6, 4, 2 and0, respectively, of register AH. Thecontent of bits 5, 3, and 1 areundefined. LAHF is provided primarilyfor converting 8080/8085 assemblylanguage programs to run on an 8086or 8088.Instruction Operands:noneif(OF) = 1then(IP) ← (IP) + disp8 (sign-ext to 16 bits)if(PF) = 1then(IP) ← (IP) + disp8 (sign-ext to 16 bits)if(SF) = 1then(IP) ← (IP) + disp8 (sign-ext to 16 bits)AF –CF –DF –IF –OF –PF –SF –TF –ZF –AF –CF –DF –IF –OF –PF –SF –TF –ZF –AF –CF –DF –IF –OF –PF –SF –TF –ZF –(AH) ← (SF):(ZF):X:(AF):X:(PF):X:(CF) AF –CF –DF –IF –OF –PF –SF –TF –ZF –The three symbols used in the Flags Affected column are defined as follows:– the contents of the flag remain unchanged after the instruction is executed? the contents of the flag is undefined after the instruction is executedüthe flag is updated after the instruction is executedC-25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!