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.

80C186 INSTRUCTION SET ADDITIONS AND EXTENSIONSBOUND register, addressBOUND verifies that the signed value in the specified register lies within specified limits. If thevalue does not lie within the bounds, an array bounds exception (type 5) occurs. BOUND is usefulfor checking array bounds before attempting to access an array element. This prevents the programfrom overwriting information outside the limits of the array.BOUND has two operands. The first, register, specifies the register being tested. The second, address,contains the effective relative address of the two signed boundary values. The lower limitword is at this address and the upper limit word immediately follows. The limit values cannot beregister operands (if they are, an invalid opcode exception occurs).A.2 80C186 INSTRUCTION SET ENHANCEMENTSThis section describes ten instructions that were available with the 8086/8088 but have been enhancedfor the 80C186 Modular Core family.• Data transfer instructions— PUSH• Arithmetic instructions— IMUL• Bit manipulation instructions (shifts and rotates)— SAL— SHL— SAR— SHR— ROL— ROR— RCL— RCRA.2.1Data Transfer InstructionsPUSH dataPUSH (push immediate) allows an immediate argument, data, to be pushed onto the stack. Thevalue can be either a byte or a word. Byte values are sign extended to word size before beingpushed.A-8

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

Saved successfully!

Ooh no, something went wrong!