
122
Chapter 3 Functions
3.2 Functions
String SToRe
Store string
[ Function ]
[ Flag Change ]
[ Description Example ]
SSTR.B
[ Related Instructions ] SMOVB,SMOVF
SSTR SSTR
[ Syntax ]
SSTR.size
• This instruction stores string, with the store data indicated by R0, the transfer address indicated by A1,
and the transfer count indicated by R3.
• The A0 or A1 when the instruction is completed contains the next address of the last-written data.
• If an interrupt request is received during instruction execution, the interrupt is acknowledged after one
data transfer is completed.
B , W
[ Operation ]
*1
Flag
Change
UIOBSZDC
[ Instruction Code/Number of Cycles ]
Page=
233
*1 If you set a value 0 in R3, this instruction is ingored.
When size specifier (.size) is (.W)
Repeat
M(A1) R0
A1 A1 + 2
R3 R3 – 1
Until R3 = 0
When size specifier (.size) is (.B)
Repeat
M(A1) R0L
A1 A1 + 1
R3 R3 – 1
Until R3 = 0
Comentarios a estos manuales