ST10 FAMILY PROGRAMMING MANUAL
167/172
CoSTORE
Store a MAC-Unit Register
Group
Transfer Instructions
Syntax
CoSTORE
op1, op2
Operation
(op1) <--
(op2)
Data Types
WORD
Description
Moves the contents of a MAC-Unit register specified by the source operand op2 to the location specified
by the destination operand op1. This instruction is repeatable with destination indirect addressing mode
(for example to clear a table in memory)
MAC Flags
Addressing Modes
Note: Due to pipeline side effects, CoSTORE cannot be directly followed by a MOV instruction, the
source operand of which is also a MAC-Unit register such as MSW, MAH, MAL, MAS, MRW or MCW. In
this case, a NOP must be inserted between the CoSTORE and MOV instruction.
Examples
N
Z
C
SV
E
SL
-
-
-
-
-
-
N
Not affected
Z
Not affected
C
Not affected
SV
Not affected
E
Not affected
SL
Not affected
Mnemonic
Rep
Format
Bytes
CoSTORE
Rw
n
, CoReg
No
C3 nn wwww:w000 00
4
CoSTORE
[Rw
n
⊗],
CoReg
Yes
B3 nn wwww:w000 rrrr:rqqq
4
CoSTORE
[R11+QR1], MAS
; ((R11)) <-- limited((ACC))
; (R11) <-- (R11) + (QR1)
Repeat 3 times CoSTORE
CoSTORE
[R2-], MAL
; ((R2)) <-- (MAL)
; (R2) <-- (R2) - 2
Содержание ST10 Series
Страница 2: ......
Страница 4: ...ST10 FAMILY PROGRAMMING MANUAL 2 172...