|
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
|
▷ |