Datasheet
dsPIC30F
DS70043F-page 36 © 2005 Microchip Technology Inc.
TABLE 10-3: MOVE INSTRUCTIONS
Assembly Syntax Description Words Cycles
EXCH Wns,Wnd Swap Wns and Wnd 1 1
MOV f {,WREG} Move f to destination 1 1
MOV WREG,f Move WREG to f 1 1
MOV f,Wnd Move f to Wnd 1 1
MOV Wns,f Move Wns to f 1 1
MOV.b #lit8,Wnd Move 8-bit literal to Wnd 1 1
MOV #lit16,Wnd Move 16-bit literal to Wnd 1 1
MOV [Ws+Slit10],Wnd Move [Ws + signed 10-bit offset] to Wnd 1 1
MOV Wns,[Wd+Slit10] Move Wns to [Wd + signed 10-bit offset] 1 1
MOV Ws,Wd Move Ws to Wd 1 1
MOV.D Ws,Wnd Move double Ws to Wnd:Wnd + 1 1 2
MOV.D Wns,Wd Move double Wns:Wns + 1 to Wd 1 2
SWAP Wn Wn = byte or nibble swap Wn 1 1
TBLRDH Ws,Wd Read high program word to Wd 1 2
TBLRDL Ws,Wd Read low program word to Wd 1 2
TBLWTH Ws,Wd Write Ws to high program word 1 2
TBLWTL Ws,Wd Write Ws to low program word 1 2
Note: When the optional {,WREG} operand is specified, the destination of the instruction is WREG. When
{,WREG} is not specified, the destination of the instruction is the file register f.
Note: Table 10-3 through Table 10-12 present the base instruction syntax for the dsPIC30F. These instructions
do not include all the available addressing modes. For example, some instructions show the Byte Address-
ing mode and others do not. Please refer to the dsPIC30F Programmer’s Reference Manual (DS70030) for
details on each instruction.