English
Language : 

MB90660A Datasheet, PDF (79/83 Pages) Fujitsu Component Limited. – 16-bit Proprietary Microcontroller CMOS
MB90660A Series
Table 22 Accumulator Manipulation Instructions (Byte/Word) [6 Instructions]
Mnemonic
# ~ RG B
Operation
LH AH I S T N Z V C RMW
SWAP
1 3 0 0 byte (A) 0 to 7 ↔ (A) 8 to 15 – – – – – – – – – –
SWAPW/XCHW AL, AH 1 2 0 0 word (AH) ↔ (AL)
–*––––––– –
EXT
1 1 0 0 byte sign extension
X–––– * * –– –
EXTW
1 2 0 0 word sign extension
–X––– * * –– –
ZEXT
1 1 0 0 byte zero extension
Z––––R* –– –
ZEXTW
1 1 0 0 word zero extension
–Z–––R* –– –
Table 23 String Instructions [10 Instructions]
Mnemonic # ~ RG B
Operation
LH AH I S T N Z V C RMW
MOVS/MOVSI
MOVSD
2 *2 *5 *3 Byte transfer @AH+ ← @AL+, counter = RW0 – – – – – – – – – –
2 *2 *5 *3 Byte transfer @AH– ← @AL–, counter = RW0 – – – – – – – – – –
SCEQ/SCEQI
SCEQD
2 *1 *5 *4 Byte retrieval (@AH+) – AL, counter = RW0
2 *1 *5 *4 Byte retrieval (@AH–) – AL, counter = RW0
–––––* * * * –
–––––* * * * –
FISL/FILSI
2 6m +6 *5 *3 Byte filling @AH+ ← AL, counter = RW0
–––––* *–– –
MOVSW/MOVSWI 2 *2 *8 *6 Word transfer @AH+ ← @AL+, counter = RW0 – – – – – – – – – –
MOVSWD
2 *2 *8 *6 Word transfer @AH– ← @AL–, counter = RW0 – – – – – – – – – –
SCWEQ/SCWEQI 2 *1 *8 *7 Word retrieval (@AH+) – AL, counter = RW0 – – – – – * * * * –
SCWEQD
2 *1 *8 *7 Word retrieval (@AH–) – AL, counter = RW0 – – – – – * * * * –
FILSW/FILSWI 2 6m +6 *8 *6 Word filling @AH+ ← AL, counter = RW0
–––––* *–– –
m: RW0 value (counter value)
n: Loop count
*1: 5 when RW0 is 0, 4 + 7 × (RW0) for count out, and 7 × n + 5 when match occurs
*2: 5 when RW0 is 0, 4 + 8 × (RW0) in any other case
*3: (b) × (RW0) + (b) × (RW0) when accessing different areas for the source and destination, calculate (b) separately
for each.
*4: (b) × n
*5: 2 × (RW0)
*6: (c) × (RW0) + (c) × (RW0) when accessing different areas for the source and destination, calculate (c) separately
for each.
*7: (c) × n
*8: 2 × (RW0)
Note: For an explanation of “(a)” to “(d)”, refer to Table 4, “Number of Execution Cycles for Each Type of Addressing,”
and Table 5, “Correction Values for Number of Cycles Used to Calculate Number of Actual Cycles.”
79