# Vault 7: Projects

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

### Protego

# PIC24FJ64GA004 - Programmers Reference Manual

- 1
- 2
…
- 281
- 282
- 283
- 284
- 285
…
- 501
- 502

© 2005-2011 Microchip Technology Inc. DS70157F-page 283
Section 5. Instruction Descriptions
Instruction
Descriptions
5
MOV.B
Move 8-bit Literal to Wnd
Implemented in: PIC24F PIC24H PIC24E dsPIC30F dsPIC33F dsPIC33E
X X X X X X
Syntax: {label:} MOV.B #lit8, Wnd
Operands: lit8 ∈ [0 ... 255]
Wnd ∈ [W0 ... W15]
Operation: lit8 →Wnd
Status Affected: None
Encoding:
1011 0011 1100 kkkk kkkk dddd
Description: The unsigned 8-bit literal ‘k’ is loaded into the lower byte of Wnd. The
upper byte of Wnd is not changed. Register direct addressing must be
used for Wnd.
The ‘k’ bits specify the value of the literal.
The ‘d’ bits select the address of the working register.
Note: This instruction operates in Byte mode and the .B extension
must be provided.
Words: 1
Cycles: 1
Example 1:
MOV.B #0x17, W5 ; load W5 with #0x17 (Byte mode)
Before
Instruction
After
Instruction
W5 7899 W5 7817
SR 0000 SR 0000
Example 2:
MOV.B #0xFE, W9 ; load W9 with #0xFE (Byte mode)
Before
Instruction
After
Instruction
W9 AB23 W9 ABFE
SR 0000 SR 0000

- 1
- 2
…
- 281
- 282
- 283
- 284
- 285
…
- 501
- 502