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 42 © 2005-2011 Microchip Technology Inc.
MULW.SU Wb,Ws,Wnd
(3)
Wnd = signed(Wb) * unsigned(Ws) 1 1
(5)
326
MULW.SU Wb,#lit5,Wnd
(3)
Wnd = signed(Wb) * unsigned(lit5) 1 1 328
MULW.US Wb,Ws,Wnd
(3)
Wnd = unsigned(Wb) * signed(Ws) 1 1
(5)
329
MULW.UU Wb,Ws,Wnd
(3)
Wnd = unsigned(Wb) * unsigned(Ws) 1 1
(5)
331
MULW.UU Wb,#lit5,Wnd
(3)
Wnd = unsigned(Wb) * unsigned(lit5) 1 1 332
SE Ws,Wnd Wnd = signed-extended Ws 1 1
(5)
393
SUB f {,WREG}
(1)
Destination = f – WREG 1 1
(5)
405
SUB #lit10,Wn Wn = Wn – lit10 1 1 406
SUB Wb,#lit5,Wd Wd = Wb – lit5 1 1 407
SUB Wb,Ws,Wd Wd = Wb – Ws 1 1
(5)
408
SUBB f {,WREG}
(1)
Destination = f – WREG – (C) 1 1
(5)
411
SUBB #lit10,Wn Wn = Wn – lit10 – (C
) 1 1 412
SUBB Wb,#lit5,Wd Wd = Wb – lit5 – (C
) 1 1 413
SUBB Wb,Ws,Wd Wd = Wb – Ws – (C
) 1 1
(5)
415
SUBBR f {,WREG}
(1)
Destination = WREG – f – (C) 1 1
(5)
417
SUBBR Wb,#lit5,Wd Wd = lit5 – Wb – (C
) 1 1 418
SUBBR Wb,Ws,Wd Wd = Ws – Wb – (C
) 1 1
(5)
420
SUBR f {,WREG}
(1)
Destination = WREG – f 1 1
(5)
422
SUBR Wb,#lit5,Wd Wd = lit5 – Wb 1 1 423
SUBR Wb,Ws,Wd Wd = Ws – Wb 1 1
(5)
424
ZE Ws,Wnd Wnd = zero-extended Ws 1 1
(5)
442
Table 3-3: Math Instructions (Continued)
Assembly Syntax Description Words Cycles
Page
Number
Note 1: When the optional {,WREG} operand is specified, the destination of the instruction is WREG. When
{,WREG} is not specified, the destination of the instruction is the file register f.
2: The divide instructions must be preceded with a “REPEAT #17” instruction, such that they are executed
18 consecutive times.
3: These instructions are only available in dsPIC33E and PIC24E devices.
4: These instructions are only available in dsPIC33E devices.
5: In dsPIC33E and PIC24E devices, read and read-modify-write operations on non-CPU Special Function
Registers require an additional cycle when compared to dsPIC30F, dsPIC33F, PIC24F and PIC24H
devices.
Protego_Release_01_05-Related-OEM-Documentation-PIC24FJ64GA004-Programmers_Reference_Manual.pdf