Fujitsu F2MCTM-16LX Computer Hardware User Manual


 
612
APPENDIX
Note:
See Table B.5-1 and Table B.5-2 for information on (a) to (d) in the table.
Table B.8-16 21 Bit Operand Instructions
Mnemonic # RG B Operation L
H
A
H
ISTNZVCR
M
W
MOVB A,dir:bp 3 5 0 (b) byte (A) <-- (dir:bp)b Z * - - - * * - - -
MOVB A,addr16:bp 4 5 0 (b) byte (A) <-- (addr16:bp)b Z * - - - * * - - -
MOVB A,io:bp 3 4 0 (b) byte (A) <-- (io:bp)b Z * - - - * * - - -
MOVB dir:bp,A 3 7 0 2 x (b)bit (dir:bp)b <-- (A) -----**--*
MOVB addr16:bp,A 4 7 0 2 x (b)bit (addr16:bp)b <-- (A) -----**--*
MOVB io:bp,A 3 6 0 2 x (b)bit (io:bp)b <-- (A) -----**--*
SETB dir:bp 3 7 0 2 x (b)bit (dir:bp)b <-- 1 ---------*
SETB addr16:bp 4 7 0 2 x (b)bit (addr16:bp)b <-- 1 ---------*
SETB io:bp 3 7 0 2 x (b)bit (io:bp)b <-- 1 ---------*
CLRB dir:bp 3 7 0 2 x (b)bit (dir:bp)b <-- 0 ---------*
CLRB addr16:bp 4 7 0 2 x (b)bit (addr16:bp)b <-- 0 ---------*
CLRB io:bp 3 7 0 2 x (b)bit (io:bp)b <-- 0 ---------*
BBC dir:bp,rel 4 *1 0 (b) Branch on (dir:bp) b = 0 ------*---
BBC addr16:bp,rel5 *1 0 (b) Branch on (addr16:bp) b = 0 ------*---
BBC io:bp,rel 4 *2 0 (b) Branch on (io:bp) b = 0 ------*---
BBS dir:bp,rel 4 *1 0 (b) Branch on (dir:bp) b = 1 ------*---
BBS addr16:bp,rel5 *1 0 (b) Branch on (addr16:bp) b = 1 ------*---
BBS io:bp,rel 4 *1 0 (b) Branch on (io:bp) b = 1 ------*---
SBBS addr16:bp,rel5 *3 0 2 x (b)Branch on (addr16:bp) b = 1, bit = 1 ------*--*
WBTS io:bp 3 *4 0 *5 Waits until (io:bp) b = 1 ----------
WBTC io:bp 3 *4 0 *5 Waits until (io:bp) b = 0 ----------
*1: 8 when a branch is made; otherwise, 7
*2: 7 when a branch is made; otherwise, 6
*3: 10 when the condition is met; otherwise, 9
*4: Undefined count
*5: Until the condition is met
Table B.8-17 6 Accumulator Operation Instructions (byte, word)
Mnemonic # RG B Operation L
H
A
H
ISTNZVCR
M
W
SWAP 1 3 0 0 byte (A)0-7 <--> (A)8-15 ----------
SWAPW 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 * - - -