Section 2 CPU
Rev. 3.00 Mar. 14, 2006 Page 46 of 804
REJ09B0104-0300
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 the result in CCR.
NEG B/W/L
0
−
(EAd)
→
(EAd)
Takes the two's complement (arithmetic complement) of data in a general
register or the contents of a memory location.
EXTU
W/L
(EAd) (zero extension)
→
(EAd)
Performs zero-extension on the lower 8 or 16 bits of data in a general
register or memory to word or longword size.
The lower 8 bits to word or longword, or the lower 16 bits to longword can
be zero-extended.
EXTS
W/L
(EAd) (sign extension)
→
(EAd)
Performs sign-extension on the lower 8 or 16 bits of data in a general
register or memory to word or longword size.
The lower 8 bits to word or longword, or the lower 16 bits to longword can
be sign-extended.
TAS B
@ERd
−
0, 1
→
(<bit 7> of @EAd)
Tests memory contents, and sets the most significant bit (bit 7) to 1.
MAC
(EAs)
×
(EAd)
+
MAC
→
MAC
Performs signed multiplication on memory contents and adds the result to
MAC.
CLRMAC
0
→
MAC
Clears MAC to zero.
electronic components distributor
Содержание H8SX series
Страница 2: ...Rev 3 00 Mar 14 2006 Page ii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 22: ...Rev 3 00 Mar 14 2006 Page xxii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 32: ...Rev 3 00 Mar 14 2006 Page xxxii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 38: ...Rev 3 00 Mar 14 2006 Page xxxviii of xxxviii Downloaded from Elcodis com electronic components distributor...
Страница 845: ...Downloaded from Elcodis com electronic components distributor...
Страница 846: ...H8SX 1520 Group Hardware Manual Downloaded from Elcodis com electronic components distributor...