h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 101

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Type
Arithmetic
operations
Instruction
DIVXS
CMP
NEG
EXTU
EXTS
TAS
Size *
B/W
B/W/L
B/W/L
W/L
W/L
B
1
Function
Performs signed division on data in two general
registers: either 16 bits ÷ 8 bits
remainder or 32 bits ÷ 16 bits
bit remainder.
Rd – Rs, Rd – #IMM
Compares data in a general register with data in another
general register or with immediate data, and sets CCR
bits according to the result.
Takes the two's complement (arithmetic complement) of
data in a general register.
Extends the lower 8 bits of a 16-bit register to word size,
or the lower 16 bits of a 32-bit register to longword size,
by padding with zeros on the left.
Extends the lower 8 bits of a 16-bit register to word size,
or the lower 16 bits of a 32-bit register to longword size,
by extending the sign bit.
@ERd – 0, 1
Tests memory contents, and sets the most significant bit
(bit 7) to 1.
Rd ÷ Rs
0 – Rd
Rd (zero extension)
Rd (sign extension)
Rd
Rd
Rev. 4.00 Jun 06, 2006 page 47 of 1004
(<bit 7> of @ERd) *
Rd
Rd
16-bit quotient and 16-
8-bit quotient and 8-bit
2
REJ09B0301-0400
Section 2 CPU

Related parts for h8s-2138