# Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

### Protego

# PIC24FJ64GA004 - Programmers Reference Manual

- 1
- 2
…
- 290
- 291
- 292
- 293
- 294
…
- 501
- 502

16-bit MCU and DSC Programmer’s Reference Manual
DS70157F-page 292 © 2005-2011 Microchip Technology Inc.
MOVPAG
Move Ws to Page Register
Implemented in: PIC24F PIC24H PIC24E dsPIC30F dsPIC33F dsPIC33E
X X
Syntax: {label:} MOVPAG Wn, DSRPAG
DSWPAG
TBLPAG
Operands: Wn ∈ [W0 ... W15]
Operation: Wn<9:0> → DSRPAG or Wn<8:0> → DSWPAG or Wn<7:0> → TBLPAG
Status Affected: None
Encoding: 1111 1110 1101 PP00 0000 ssss
Description: The appropriate number of bits from the register Ws are loaded into the
DSRPAG, DSWPAG, or TBLPAG register. The assembler restricts the
literal to a 9-bit unsigned value when the destination is DSWPAG, and an
8-bit unsigned value when the destination is TBLPAG.
The ‘P’ bits select the destination register.
The ‘s’ bits specify the source register.
Note: This instruction operates in word mode only.
Words: 1
Cycles: 1
Example 1:
MOVPAG W2, DSRPAG
Before
Instruction
After
Instruction
DSRPAG 0000 DSRPAG 0002
W2 0002 W2 0002

- 1
- 2
…
- 290
- 291
- 292
- 293
- 294
…
- 501
- 502