STMicroelectronics ST10 Series Programming Manual page 161

Table of Contents

Advertisement

Examples
CoMULus
R0, R1, rnd
CoMULus-
R2, [R6+]
CoMULus
[IDX1+QX0], [R11+QR0]
CoMULus-
[IDX0], [R15]
CoMULus
[IDX0+QX0], [R9-QR1], rnd
Multiplication Examples
Cases
op 1
MP=x, MS=x
8000
MP=x, MS=x
7FFF
MP=x, MS=x
8001
op 2
rnd
MAE
8000
x
FF
h
h
7FFF
0
00
h
h
1
00
F456
0
FF
h
h
1
FF
ST10 FAMILY PROGRAMMING MANUAL
; (ACC) <-- (R0)*(R1) + rnd
; (ACC) <-- -(R2)*((R6))
; (R6) <-- (R6) + 2
; (ACC) <-- ((IDX1))*((R11))
; (R11) <-- (R11) + (QR0)
; (IDX1) <-- (IDX1) + (QX0)
; (ACC) <-- -((IDX0))*((R15))
; (ACC) <-- ((IDX0))*((R9)) + rnd
; (R9) <-- (R9) - (QR1)
; (IDX0) <-- (IDX0) + (QX0).
MAH
MAL
C000
0000
h
h
h
3FFF
0001
h
h
h
3FFF
0000
h
h
h
FA2A
F456
h
h
h
FA2B
0000
h
h
h
N
Z
C
SV
1
0
0
-
0
0
0
-
0
0
0
-
1
0
0
-
1
0
0
-
E
SL
0
-
0
-
0
-
0
-
0
-
159/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