ST10 FAMILY PROGRAMMING MANUAL
137/172
Addressing Modes
Examples
Mnemonic
Rep
Format
Bytes
CoMACu
Rw
n
, Rw
m
No
A3 nm 10 00
4
CoMACu-
Rw
n
, Rw
m
No
A3 nm 20 00
4
CoMACu
Rw
n
, Rw
m
, rnd
No
A3 nm 11 00
4
CoMACRu
Rw
n
, Rw
m
No
A3 nm 30 00
4
CoMACRu
Rw
n
, Rw
m
, rnd
No
A3 nm 31 00
4
CoMACu
[IDX
i
⊗
], [Rw
m
⊗
]
Yes
93 Xm 10 rrrr:rqqq
4
CoMACu-
[IDX
i
⊗
], [Rw
m
⊗
]
Yes
93 Xm 20 rrrr:rqqq
4
CoMACu
[IDX
i
⊗
], [Rw
m
⊗
], rnd
Yes
93 Xm 11 rrrr:rqqq
4
CoMACRu
[IDX
i
⊗
], [Rw
m
⊗
]
Yes
93 Xm 30 rrrr:rqqq
4
CoMACRu
[IDX
i
⊗
], [Rw
m
⊗
], rnd
Yes
93 Xm 31 rrrr:rqqq
4
CoMACu
Rw
n
, [Rw
m
⊗
]
Yes
83 nm 10 rrrr:rqqq
4
CoMACu-
Rw
n
, [Rw
m
⊗
]
Yes
83 nm 20 rrrr:rqqq
4
CoMACu
Rw
n
, [Rw
m
⊗
], rnd
Yes
83 nm 11 rrrr:rqqq
4
CoMACRu
Rw
n
, [Rw
m
⊗
]
Yes
83 nm 30 rrrr:rqqq
4
CoMACRu
Rw
n
, [Rw
m
⊗
], rnd
Yes
83 nm 31 rrrr:rqqq
4
CoMACu
R5, R8, rnd
; (ACC) <-- (ACC) + (R5)*(R8) + rnd
CoMACu-
R2, [R7]
; (ACC) <-- (ACC) - (R2)*((R7))
CoMACu
[IDX0 - QX0], [R11 - QR0]
; (ACC) <-- (ACC) +
((IDX0))*((R11))
; (R11) <-- (R11) - (QR0)
; (IDX0) <-- (IDX0) - (QX0)
Repeat 3 times CoMACu [IDX1+], [R9-]
; (ACC) <-- (ACC) + ((IDX1))*((R9))
; (R9) <-- (R9) - 2
; (IDX1) <-- (IDX1) + 2
Repeat MRW
times
CoMACu- R3, [R7 - QR0]
; (ACC) <-- (ACC) - (R3)*((R7))
; (R7) <-- (R7) - (QR0)
CoMACRu
[IDX1 - QX0], [R4], rnd
; (ACC) <-- ((IDX1))*((R4))-(ACC)+
rnd
; (IDX1) <-- (IDX1) - (QX0)
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...