ST10 FAMILY PROGRAMMING MANUAL
139/172
Addressing Modes
Examples
Mnemonic
Rep
Format
Bytes
CoMACus
Rw
n
, Rw
m
No
A3 nm 90 00
4
CoMACus-
Rw
n
, Rw
m
No
A3 nm A0 00
4
CoMACus
Rw
n
, Rw
m
, rnd
No
A3 nm 91 00
4
CoMACRus
Rw
n
, Rw
m
No
A3 nm B0 00
4
CoMACRus
Rw
n
, Rw
m
, rnd
No
A3 nm B1 00
4
CoMACus
[IDX
i
⊗
], [Rw
m
⊗
]
Yes
93 Xm 90 rrrr:rqqq
4
CoMACus-
[IDX
i
⊗
], [Rw
m
⊗
]
Yes
93 Xm A0 rrrr:rqqq
4
CoMACus
[IDX
i
⊗
], [Rw
m
⊗
], rnd
Yes
93 Xm 91 rrrr:rqqq
4
CoMACRus
[IDX
i
⊗
], [Rw
m
⊗
]
Yes
93 Xm B0 rrrr:rqqq
4
CoMACRus
[IDX
i
⊗
], [Rw
m
⊗
], rnd
Yes
93 Xm B1 rrrr:rqqq
4
CoMACus
Rw
n
, [Rw
m
⊗
]
Yes
83 nm 90 rrrr:rqqq
4
CoMACus-
Rw
n
, [Rw
m
⊗
]
Yes
83 nm A0 rrrr:rqqq
4
CoMACus
Rw
n
, [Rw
m
⊗
], rnd
Yes
83 nm 91 rrrr:rqqq
4
CoMACRus
Rw
n
, [Rw
m
⊗
]
Yes
83 nm B0 rrrr:rqqq
4
CoMACRus
Rw
n
, [Rw
m
⊗
], rnd
Yes
83 nm B1 rrrr:rqqq
4
CoMACus
R5, R8, rnd
; (ACC) <-- (ACC) + (R5)*(R8) + rnd
CoMACus-
R2, [R7]
; (ACC) <-- (ACC) - (R2)*((R7))
CoMACus
[IDX0 - QX0], [R11 - QR0] ; (ACC) <-- (ACC) + ((IDX0))*((R11))
; (R11) <-- (R11) - (QR0)
; (IDX0) <-- (IDX0) - (QX0)
Repeat 3 times
CoMACus[IDX1+], [R9-]
; (ACC) <-- (ACC) + ((IDX1))*((R9))
; (R9) <-- (R9) - 2
; (IDX1) <-- (IDX1) + 2
Repeat MRW times CoMACus- R3, [R7 - QR0]
; (ACC) <-- (ACC) - (R3)*((R7))
; (R7) <-- (R7) - (QR0)
CoMACRus
[IDX1 - QX0], [R4], rnd
; (ACC) <-- ((IDX1))*((R4))-(ACC)+rnd
; (IDX1) <-- (IDX1) - (QX0)
Summary of Contents for ST10 Series
Page 2: ......