# Vault 7: Projects

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

### Protego

# PIC24FJ64GA004 - Programmers Reference Manual

- 1
- 2
…
- 335
- 336
- 337
- 338
- 339
…
- 501
- 502

© 2005-2011 Microchip Technology Inc. DS70157F-page 337
Section 5. Instruction Descriptions
Instruction
Descriptions
5
Example 1:
NOPR ; execute no operation
Before
Instruction
After
Instruction
PC 00 2430 PC 00 2432
SR 0000 SR 0000
Example 2:
NOPR ; execute no operation
Before
Instruction
After
Instruction
PC 00 1466 PC 00 1468
SR 0000 SR 0000
POP
Pop TOS to f
Implemented in: PIC24F PIC24H PIC24E dsPIC30F dsPIC33F dsPIC33E
X X X X X X
Syntax: {label:} POP f
Operands: f ∈ [0 ... 65534]
Operation: (W15) – 2 → W15
(TOS) → f
Status Affected: None
Encoding: 1111 1001 ffff ffff ffff fff0
Description: The Stack Pointer (W15) is pre-decremented by 2 and the Top-of-Stack
(TOS) word is written to the specified file register, which may reside
anywhere in the lower 32K words of data memory.
The ‘f’ bits select the address of the file register.
Note 1: This instruction operates in Word mode only.
2: The file register address must be word-aligned.
Words: 1
Cycles: 1
Example 1:
POP 0x1230 ; Pop TOS to 0x1230
Before
Instruction
After
Instruction
W15 1006 W15 1004
Data 1004 A401 Data 1004 A401
Data 1230 2355 Data 1230 A401
SR 0000 SR 0000

- 1
- 2
…
- 335
- 336
- 337
- 338
- 339
…
- 501
- 502