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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

INSTRUCTION SET DESCRIPTIONSINCINSTable C-4. Instruction Set (Continued)Name Description OperationNOTE:Increment:INC destAdds one to the destination operand.The operand may be byte or a wordand is treated as an unsigned binarynumber (see AAA and DAA).Instruction Operands:INC regINC memIn String:INS dest-string, portPerforms block input from an I/O portto memory. The port address is placedin the DX register. The memoryaddress is placed in the DI register.This instruction uses the ES register(which cannot be overridden). After thedata transfer takes place, the DIregister increments or decrements,depending on the value of the directionflag (DF). The DI register changes by 1for byte transfers or 2 for wordtransfers.Instruction Operands:INS dest-string, portINS (repeat) dest-string, port(dest) ← (dest) + 1FlagsAffectedAF üCF –DF –IF –OF üPF üSF üTF –ZF ü(dest) ← (src) 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-18

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

Saved successfully!

Ooh no, something went wrong!