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 266 © 2005-2011 Microchip Technology Inc.
Example 1:
LAC [W4++], #-3, B ; Load ACCB with [W4] << 3
; Contents of [W4] do not change
; Post increment W4
; Assume saturation disabled
; (SATB = 0)
Before
Instruction
After
Instruction
W4 2000 W4 2002
ACCB 00 5125 ABCD ACCB FF 9108 0000
Data 2000 1221 Data 2000 1221
SR 0000 SR 4800 (OB, OAB = 1)
Example 2:
LAC [--W2], #7, A ; Pre-decrement W2
; Load ACCA with [W2] >> 7
; Contents of [W2] do not change
; Assume saturation disabled
; (SATA = 0)
Before
Instruction
After
Instruction
W2 4002 W2 4000
ACCA 00 5125 ABCD ACCA FF FF22 1000
Data 4000 9108 Data 4000 9108
Data 4002 1221 Data 4002 1221
SR 0000 SR 0000

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh