13.07.2015 Views

[Instruction] Contents

[Instruction] Contents

[Instruction] Contents

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.

Basic Function <strong>Instruction</strong>FUN 17 D PCMPCOMPARE(Compares the data of Sa and Sb and outputs the results to function Outputs)FUN 17 D PCMPOperandSa: The register to be comparedSb: The register to be comparedSa, Sb may combine with V, Z, P0~P9 toserve indirect addressingRangeOperandWX WY WM WS TMR CTR HR IR OR HR HSCR RTCR SR ROR DR KWX0∣WX240WY0∣WY240WM0∣WM1896WS0∣WS984T0∣T255C0∣C255R0∣R3839R3804∣R3903R3904∣R3919R3920∣R4047R4096∣R4127R4128∣R4135R4136∣R4167R5000∣R8071D0∣D4095Sa ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○Sb ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○16/32 bit+/-number●Compares the data of Sa and Sb when the compare control input "EN" =1 or "EN↑" ( P instruction) from 0 to1. If the data of Sa is equal to Sb, then set FO0 to 1. If the data of Sa>Sb, then set FO1 to 1. If the data ofSaba

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

Saved successfully!

Ooh no, something went wrong!