ST10 FAMILY PROGRAMMING MANUAL
93/172
MUL
Signed Multiplication
Syntax
MUL op1,
op2
Operation
(MD)
<-- (op1) * (op2)
Data Types
WORD
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
Addressing Modes
E
Z
V
C
N
0
*
S
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.
Mnemonic
Format
Bytes
MUL
Rw
n
, Rw
m
0B nm
2
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...