Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 752 Bytes

iii.3.48-mul.md

File metadata and controls

25 lines (14 loc) · 752 Bytes

III.3.48 mul – multiply values

Format Assembly Format Description
5A mul Multiply values.

Stack Transition:

…, value1, value2 → …, result

Description:

The mul instruction multiplies value1 by value2 and pushes the result on the stack. Integral operations silently truncate the upper bits on overflow (see mul.ovf).

For floating-point types, 0 × infinity = NaN.

The acceptable operand types and their corresponding result data types are encapsulated in Table 2: Binary Numeric Operations.

Exceptions:

None.

Correctness and Verifiability:

See Table 2: Binary Numeric Operations.