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 LocationDELETESTRINGDEL$@DEL$Executioncondition658 Deletes a designated text string from the middle of a text string. Output RequiredDEL$(658)Number of characters to beS1deleted (designated by S2).→S2 00 03 →S2S3GDS1: Text stringfirst wordS2: Number ofcharactersS3: BeginningpositionD: Firstdestination wordEXCHANGESTRINGXCHG$@XCHG$665 Replaces a designated text string with anotherOutput RequiredXCHG$(665)designated text string.Ex1Ex2 Ex1Ex1Ex1: 1stexchange word 1Ex2: 1stexchange word 2Ex2Ex2CLEARSTRINGINSERTINTOSTRINGCLR$@CLR$INS$@INS$666 Clears an entire text string with NUL (00 hex).Output RequiredCLR$(666)S→A BS →SC DNULNULS: Text string firstword667 Deletes a designated text string from the middle of a text string.INS$(657)Output Required→S1NULS2→→S3InsertedDcharactersS1: Base textstring first wordS2: Inserted textstring first wordS3: BeginningpositionD: Firstdestination wordString ComparisonLD, AND,OR +=$, $,=$670(=$)671($)672(=$)SymbolS1S2S1: Text string 1S2: Text string 2A-74 <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!