Section 2 CPU
Rev.2.00 Jun. 28, 2007 Page 42 of 666
REJ09B0311-0200
Instruction Size Function
DIVXU B/W
Rd
÷
Rs
→
Rd
Performs unsigned division on data in two general registers: either 16 bits
÷
8 bits
→
8-bit quotient and 8-bit remainder or 32 bits
÷
16 bits
→
16-bit
quotient and 16-bit remainder.
DIVU W/L
Rd
÷
Rs
→
Rd
Performs unsigned division on data in two general registers: either 16 bits
÷
16 bits
→
16-bit quotient or 32 bits
÷
32 bits
→
32-bit quotient.
DIVXS B/W
Rd
÷
Rs
→
Rd
Performs signed division on data in two general registers: either 16 bits
÷
8 bits
→
8-bit quotient and 8-bit remainder or 32 bits
÷
16 bits
→
16-bit
quotient and 16-bit remainder.
DIVS W/L
Rd
÷
Rs
→
Rd
Performs signed division on data in two general registers: either 16 bits
÷
16 bits
→
16-bit quotient or 32 bits
÷
32 bits
→
32-bit quotient.
CMP B/W/L
(EAd)
−
#IMM, (EAd)
−
(EAs)
Compares data between immediate data, general registers, and memory
and stores CCR bits according to the result.
NEG B/W/L
0
−
(EAd)
→
(EAd)
Takes the two's complement (arithmetic complement) of the contents of a
general register or a memory location.
EXTU
W/L
(EAd) (zero extension)
→
(EAd)
Extends the lower 8 or 16 bits of data in a general register or a memory
location to word or longword size by padding with 0s.
The lower eight bits can be extended to word or longword, or lower 16 bits
to longword.
EXTS
W/L
(EAd) (sign extension)
→
(EAd)
Extends the lower 8 or 16 bits of data in a general register or a memory
location to word size by padding with signs.
The lower eight bits can be extended to word or longword, or lower 16 bits
to longword.
TAS B
@ERd
−
0, 1
→
(<bit 7> of @EAd)
Tests memory contents, and sets the most significant bit (bit 7) to 1.
MAC
(EAd)
×
(EAs)
+
MAC
→
MAC
Performs signed multiplication on memory contents and adds the result to
the MAC.
CLRMAC
0
→
MAC
Clears the MAC to zero.
Summary of Contents for H8SX/1650
Page 2: ...Rev 2 00 Jun 28 2007 Page ii of xxii...
Page 106: ...Section 4 Exception Handling Rev 2 00 Jun 28 2007 Page 84 of 666 REJ09B0311 0200...
Page 142: ...Section 5 Interrupt Controller Rev 2 00 Jun 28 2007 Page 120 of 666 REJ09B0311 0200...
Page 326: ...Section 8 I O Ports Rev 2 00 Jun 28 2007 Page 304 of 666 REJ09B0311 0200...
Page 470: ...Section 12 Watchdog Timer WDT Rev 2 00 Jun 28 2007 Page 448 of 666 REJ09B0311 0200...
Page 566: ...Section 14 A D Converter Rev 2 00 Jun 28 2007 Page 544 of 666 REJ09B0311 0200...
Page 574: ...Section 16 RAM Rev 2 00 Jun 28 2007 Page 552 of 666 REJ09B0311 0200...
Page 584: ...Section 17 Clock Pulse Generator Rev 2 00 Jun 28 2007 Page 562 of 666 REJ09B0311 0200...
Page 638: ...Section 19 List of Registers Rev 2 00 Jun 28 2007 Page 616 of 666 REJ09B0311 0200...
Page 668: ...Section 20 Electrical Characteristics Rev 2 00 Jun 28 2007 Page 646 of 666 REJ09B0311 0200...
Page 676: ...Appendix Rev 2 00 Jun 28 2007 Page 654 of 666 REJ09B0311 0200...
Page 688: ...Rev 2 00 Jun 28 2007 Page 666 of 666 REJ09B0311 0200...
Page 691: ......
Page 692: ...H8SX 1650 Group Hardware Manual...