STMicroelectronics ST10 Series Programming Manual page 95

Table of Contents

Advertisement

MUL
Syntax
Operation
Data Types
Description
Performs a 16-bit by 16-bit signed multiplication using the two words specified by operands op1 and op2
respectively. The signed 32-bit result is placed in the MD register.
Flags
E
0
E
Always cleared.
Z
Set if the result equals zero. Cleared otherwise.
V
This bit is set if the result cannot be represented in a word data type. Cleared otherwise.
C
Always cleared.
N
Set if the most significant bit of the result is set. Cleared otherwise.
Addressing Modes
Mnemonic
MUL
Signed Multiplication
MUL
(MD)
WORD
Z
*
Rw
, Rw
n
m
ST10 FAMILY PROGRAMMING MANUAL
op1, op2
<-- (op1) * (op2)
V
S
Format
0B nm
C
N
0
*
Bytes
2
93/172

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ST10 Series and is the answer not in the manual?

Questions and answers

Table of Contents