ST10 FAMILY PROGRAMMING MANUAL
144/172
Examples
CoMACM
[IDX1+QX0],[R10+QR1], rnd
; (ACC) <-- (ACC) + ((IDX1))*((R10)) + rnd
; (R10) <-- (R10) + (QR1)
; ( ((IDX1)-(QX0)) ) <-- ((IDX1))
; (IDX1) <-- (IDX1) + (QX0)
Repeat 3 times CoMACM
CoMACM
[IDX0 - QX0], [R8+QR0]
; (ACC) <-- (ACC) + ((IDX0))*((R8))
; (R8) <-- (R8) + (QR0)
; ( ((IDX0) + (QX0)) ) <-- ((IDX0))
; (IDX0) <-- (IDX0) - (QX0)
Repeat MRW times CoMACM
CoMACM
[IDX1+QX1], [R7 - QR0]
; (ACC) <-- (ACC) - ((IDX1))*((R7))
; (R7) <-- (R7) - (QR0)
; ( ((IDX1) - (QX1)) ) <-- ((IDX1))
; (IDX1) <-- (IDX1) + (QX1)
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...