13.07.2015 Views

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

CJ2 CPU Unit Software User's Manual - CIP ETI

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

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

AppendicesInstruction Mnemonic Code Symbol/Operand Function LocationDOUBLELOGICAL ORORWL@ORWLExecutioncondition611Takes the logical OR of corresponding bits inOutput RequiredORWL(611)double words of word data and/or constants.I 1(II 1 ,I 1 +1) + (I 2 ,I 2 +1) → (R, R+1)2IR1 ,I 1 +1 I 2 ,I 2 +1 R, R+11 1 1I1: Input 1I2: Input 21 0 1R: Result word0 1 10 0 0EXCLUSIVEORDOUBLEEXCLUSIVEOREXCLUSIVENORDOUBLEEXCLUSIVENORCOMPLEMENTDOUBLE COM-PLEMENTXORW@XORWXORL@XORLXNRW@XNRWXNRL@XNRLCOM@COMCOML@COML036 Output RequiredXORW(036)Takes the logical exclusive OR of correspondingbits in single words of word data and/or constants.I 1II 1 .I 2 +I 1 .I 2 →R2RRI1: Input 1I2: Input 2R: Result wordI 11100I 21010612Takes the logical exclusive OR of correspondingOutput RequiredXORL(612)bits in double words of word data and/or constants.I 1I 2(I 1 ,I 1 +1). (I 2 ,I 2 +1) + (I 1 ,I 1 +1). (I 2 ,I 2 +1) → ? (R, R+1)RI 1 ,I 1 +1 I 2 ,I 2 +1 R, R+11 1 0I1: Input 1I2: Input 21 0 1R: Result word0 1 10 0 0037 Output RequiredXNRW(037)Takes the logical exclusive NOR of correspondingsingle words of word data and/or constants.I 1II 1 .I 2 +I 1 .I 2 →R2RRI1: Input 1I2: Input 2R: Result wordI 11100I 21010613Takes the logical exclusive NOR of correspondingOutput RequiredXNRL(613)bits in double words of word data and/or constants.I 1I 2(I 1 ,I 1 +1). (I 2 ,I 2 +1) + (I 1 ,I 1 +1). (I 2 ,I 2 +1) → (R, R+1)IR1 ,I 1 +1 I 2 ,I 2 +1 R, R+11 1 1I1: Input 1I2: Input 21 0 0R: 1st result word0 1 00 0 1029COM(029)Turns OFF all ON bits and turns ON all OFF bits in Wd.Output RequiredWdWd → Wd: 1 → 0 and 0 → 1Wd: Word614 Output RequiredCOML(614)Turns OFF all ON bits and turns ON all OFF bits inWd and Wd+1.Wd(Wd+1, Wd) → (Wd+1, Wd)Wd: Word01101001A-36 <strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong> <strong>Software</strong> User’s <strong>Manual</strong>

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

Saved successfully!

Ooh no, something went wrong!