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 468 © 2005-2011 Microchip Technology Inc.
__builtin_mulss
Description:
Computes the product p0 x p1. Function arguments are signed integers, and the function result
is a signed long integer. The command-line option -Wconversions can be used to detect
unexpected sign conversions.
Prototype:
signed long _ _builtin_mulss(const signed int p0, const signed int p1);
Argument:
p0 multiplicand
p1 multiplier
Return Value:
Returns the signed long integer value of the product p0 x p1.
Assembler Operator / Machine Instruction:
mul.ss
__builtin_mulsu
Description:
Computes the product p0 x p1. Function arguments are integers with mixed signs, and the
function result is a signed long integer. The command-line option -Wconversions can be
used to detect unexpected sign conversions. This function supports the full range of addressing
modes of the instruction, including immediate mode for operand p1.
Prototype:
signed long _ _builtin_mulsu(const signed int p0, const unsigned int p1);
Argument:
p0 multiplicand
p1 multiplier
Return Value:
Returns the signed long integer value of the product p0 x p1.
Assembler Operator / Machine Instruction:
mul.su

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh