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
SUBX
SUBS
DEC
DAS
MULXU
MULXS
DIVXU
DIVXS
CMP
NEG
EXTU
EXTS
TAS
MAC
CLRMAC
LDMAC
STMAC
Mnemonic
Size
#xx
Rn
@ERn
@(d,ERn)
@-ERn/@ERn+
@aa
@(d,PC)
@@aa
—
Rd8+#xx:8
Rd8
Rd8+Rs8
Rd8
Rd16+#xx:16
Rd16
Rd16+Rs16
Rd16
ERd32+#xx:32
ERd32
ERd32+ERs32
ERd32
Rd8+#xx:8+C
Rd8
Rd8+Rs8+C
Rd8
ERd32+1
ERd32
ERd32+2
ERd32
ERd32+4
ERd32
Rd8+1
Rd8
Rd16+1
Rd16
Rd16+2
Rd16
ERd32+1
ERd32
ERd32+2
ERd32
Rd8 10 Decimal adjust
Rd8
Rd8-Rs8
Rd8
Rd16-#xx:16
Rd16
Rd16-Rs16
Rd16
ERd32-#xx:32
ERd32
ERd32-ERs32
ERd32
Rd8-#xx:8-C
Rd8
Rd8-Rs8-C
Rd8
ERd32-1
ERd32
ERd32-2
ERd32
ERd32-4
ERd32
Rd8-1
Rd8
Rd16-1
Rd16
Rd16-2
Rd16
ERd32-1
ERd32
ERd32-2
ERd32
Rd8 10 Decimal adjust
Rd8
Rd8 Rs8
Rd16(Multiplication w/o sign)
Rd16 Rs16
ERd32
(Multiplication w/o sign)
Rd8 Rs8
Rd16(Multiplication w/o sign)
Rd16 Rs16
ERd32
(Multiplication w/o sign)
Rd16 Rs8
Rd16 (RdH: Rmainder, RdL:
Quatient)(Division w/o sign)
ERd32 Rs16
ERd32 (Ed:Remainder,
Rd: Quatient)(Division with sign)
Rd16 Rs8
Rd16(RdH: Rmainder, RdL:
Quatient)(Division w/o sign)
ERd32 Rs16
ERd32 (Ed:Remainder,
Rd: Quatient)(Division with sign)
Rd8-#xx:8
Rd8-Rs8
Rd16-#xx:16
Rd16-Rs16
ERd32-#xx:32
ERd32-ERs32
0-Rd8
Rd8
0-Rd16
Rd16
0-ERd32
ERd32
0
(<Bits 15 to 8> of Rd16)
0
(<Bits 31 to 16> of ERd32)
(<Bit7> of Rd16)
(<Bits 15 to 8> of Rd16)
(<Bit15> of ERd32)
(<Bits31 to 16> of ERd32)
@ERd-0
CCR set, (1)
(<Bit7> of @ERd)
Operation
Condition
Code
I
H N Z V C
Advanced Mode
4
—
—
—
*
1
1
2
1
3
1
1
1
1
1
1
1
1
1
1
1
1
1
2
1
3
1
1
1
1
1
1
1
1
1
1
1
1
12
20
13
21
12
20
13
21
1
1
2
1
3
1
1
1
1
1
1
1
1
4
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
[3]
[3]
[4]
[4]
—
—
—
—
—
—
—
—
*
[3]
[3]
[4]
[4]
—
—
—
—
—
—
—
—
*
—
—
—
—
—
—
—
—
[3]
[3]
[4]
[4]
—
—
—
—
—
—
—
—
—
—
—
—
—
[6]
[6]
[8]
[8]
0
0
[5]
[5]
—
—
—
[5]
[5]
—
—
—
—
—
[7]
[7]
[7]
[7]
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
*
—
—
—
—
—
—
—
—
0
0
0
0
0
—
—
—
—
—
Cannot be used in this LSI
[2]
Addressing Mode and Instruction Length (Bytes)
No of
Execution
States
*
1
Summary of Contents for Hitachi H8S/2191
Page 123: ...Rev 2 0 11 00 page 96 of 1037...
Page 149: ...Rev 2 0 11 00 page 122 of 1037...
Page 197: ...Rev 2 0 11 00 page 170 of 1037...
Page 247: ...Rev 2 0 11 00 page 220 of 1037...
Page 249: ...Rev 2 0 11 00 page 222 of 1037...
Page 347: ...Rev 2 0 11 00 page 320 of 1037...
Page 357: ...Rev 2 0 11 00 page 330 of 1037...
Page 417: ...Rev 2 0 11 00 page 390 of 1037...
Page 431: ...Rev 2 0 11 00 page 404 of 1037...
Page 439: ...Rev 2 0 11 00 page 412 of 1037...
Page 457: ...Rev 2 0 11 00 page 430 of 1037...
Page 525: ...Rev 2 0 11 00 page 498 of 1037...
Page 543: ...Rev 2 0 11 00 page 516 of 1037...
Page 845: ...Rev 2 0 11 00 page 818 of 1037...