Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
16-bit MCU and DSC Programmer’s Reference Manual
DS70157F-page 288 © 2005-2011 Microchip Technology Inc.
Words: 1
Cycles:
1
(1)
Note 1:
In dsPIC33E and PIC24E devices, the listed cycle count does not apply to read and
read-modify-write operations on non-CPU Special Function Registers. For more
details, see
Note 3
in
Section 3.2.1 “Multi-Cycle Instructions”
.
MOV
Move Ws to Wd
Example 1:
MOV.B [W0--], W4 ; Move [W0] to W4 (Byte mode)
; Post-decrement W0
Before
Instruction
After
Instruction
W0 0A01 W0 0A00
W4 2976 W4 2989
Data 0A00 8988 Data 0A00 8988
SR 0000 SR 0000
Example 2:
MOV [W6++], [W2+W3] ; Move [W6] to [W2+W3] (Word mode)
; Post-increment W6
Before
Instruction
After
Instruction
W2 0800 W2 0800
W3 0040 W3 0040
W6 1228 W6 122A
Data 0840 9870 Data 0840 0690
Data 1228 0690 Data 1228 0690
SR 0000 SR 0000
Protego_Release_01_05-Related-OEM-Documentation-PIC24FJ64GA004-Programmers_Reference_Manual.pdf