11.07.2015 Views

section 7 - Index of

section 7 - Index of

section 7 - Index of

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

CMP Compare CMPCondition Codes:15 14 13 12 11 10 9 876543210S - Computed according to the definition in A.5 CONDITION CODE COMPUTATIONL - Set if limiting (parallel move) or overflow has occurred in resultE - Set if the signed integer portion <strong>of</strong> A or B result is in useU - Set if A or B result is unnormalizedN - Set if bit 55 <strong>of</strong> A or B result is setz- Set if A or B result equals zeroV - Set if overflow has occurred in A or B resultC - Set if a carry (or borrow) occurs from bit 55 <strong>of</strong> A or B result.Note: The definitions <strong>of</strong> the E and U bits vary according to the scaling mode being used.Refer to Section A.5 for complete details.Instruction Format:CMP S1, S2Opcode:23 8 7 4 3DATA BUS MOVE FIELD 1 0 J J J 1 doOPTIONAL EFFECTIVE ADDRESS EXTENSIONInstruction Fields:S1,S2 JJJd S1,82B,A 0000 YO,BA,B 0001 X1,AXO,A 1000 X1,BXO,B 1 001 Y1,AYO,A 1 0 1 0 Y1,BTiming: 2+mv oscillator clock cyclesMemory: 1 +mv program wordsJJJd1 0 1 11 1 001 1 0 11 1 1 01 1 1 1-

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

Saved successfully!

Ooh no, something went wrong!