13.07.2015 Views

[Instruction] Contents

[Instruction] Contents

[Instruction] Contents

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Basic Function <strong>Instruction</strong>FUN 8 D PMOVDescriptionMOVE(Moves data from S to D)OperandFUN 8 D PMOVS: Source register numberD: Destination register numberThe S, N, D may combine with V, Z, P0~P9 to serveindirect addressingRangeOperandWX WY WM WS TMR CTR HR IR OR SR ROR DR K XRWX0∣WX240WY0∣WY240WM0∣WM1896WS0∣WS984T0∣T255C0∣C255R0∣R3839R3840∣R3903R3904∣R3967R3968∣R4167R5000∣R8071D0∣D409516/32-bit+/− numberP0~P9S ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○D ○ ○ ○ ○ ○ ○ ○ ○* ○* ○ ○V、ZDescription●Move (write) the data of S to a specified register D when the move control input "EN" =1 or "EN↑" ( Pinstruction) from 0 to 1.ExampleWrites a constant data into a 16-bit register.Ladder Diagram Key Operations Mnemonic CodesX0EN8P.MOVS : 10D : R 0ORGORG X 0FUN 8PS: 10D: R 0S K 10 X0=D R0 106-23

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

Saved successfully!

Ooh no, something went wrong!