Vault 7: Projects

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

© 2005-2011 Microchip Technology Inc. DS70157F-page 345
Section 5. Instruction Descriptions
Instruction
Descriptions
5
PUSH.S
Push Shadow Registers
Implemented in: PIC24F PIC24H PIC24E dsPIC30F dsPIC33F dsPIC33E
X X X X X X
Syntax: {label:} PUSH.S
Operands: None
Operation: PUSH shadow registers
Status Affected: None
Encoding:
1111 1110 1010 0000 0000 0000
Description: The contents of the primary registers are copied into their respective
shadow registers. The following registers are shadowed: W0-W3, and
the C, Z, OV, N and DC STATUS register flags.
Note 1: The shadow registers are not directly accessible. They may
only be accessed with PUSH.S and POP.S.
2: The shadow registers are only one-level deep.
Words: 1
Cycles: 1
Example 1:
PUSH.S ; Push primary registers into shadow registers
Before
Instruction
After
Instruction
W0 0000 W0 0000
W1 1000 W1 1000
W2 2000 W2 2000
W3 3000 W3 3000
SR 0001 (C = 1) SR 0001 (C = 1)
Note: After an instruction execution, contents of the shadow registers are updated.

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh