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 LocationMULTIPLE BITTRANSFERXFRB@XFRBExecutioncondition062 Transfers the specified number of consecutive bits. Output RequiredXFRB(062)CSDBLOCKTRANSFERBLOCK SETDATAEXCHANGEXFER@XFERBSET@BSETXCHG@XCHGC: Control wordS: 1st sourcewordD: 1st destinationword070 Output RequiredXFER(070)Transfers the specified number of consecutive words.NSDN: Number ofwordsS: 1st sourcewordD: 1st destinationwordtoN wordsS+(N−1) D+(N−1)071 Output RequiredBSET(071)Copies the same word to a range ofconsecutive words.SSource wordDestination wordsStStES: Source wordSt: Starting wordE: End word073XCHG(073)Exchanges the contents of the two specified words.Output RequiredE1E1E2E2EtoA-1 Instruction Functions AppA-1-6 Data Movement InstructionsE1: 1st exchangewordE2: Secondexchange wordDOUBLE DATAEXCHANGEXCGL@XCGL562Exchanges the contents of a pair of consecutive wordsOutput RequiredXCGL(562)with another pair of consecutive words.E1E1 E1+1 E2 E2+1E2E1: 1st exchangewordE2: Secondexchange wordSINGLE WORDDISTRIBUTEDIST@DIST080 Output RequiredDIST(080) Transfers the source word to a destination wordcalculated by adding an offset value to the base address.SSB sOfBsOfS: Source wordBs: Destinationbase addressOf: OffsetBs+n<strong>CJ2</strong> <strong>CPU</strong> <strong>Unit</strong> <strong>Software</strong> User’s <strong>Manual</strong>A-19

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

Saved successfully!

Ooh no, something went wrong!