h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 89

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Table 2.4
Note:
Instruction Size *
DIVXS
CMP
NEG
EXTU
EXTS
TAS
* Size refers to the operand size.
B: Byte
W: Word
L: Longword
Arithmetic Operations Instructions (2)
B/W
B/W/L
B/W/L
B
W/L
W/L
Function
Rd
Performs signed division on data in two general registers: either 16 bits
quotient and 16-bit remainder.
Rd – Rs, Rd – #IMM
Compares data in a general register with data in another general register
or with immediate data, and sets the CCR bits according to the result.
0 – Rd
Takes the two's complement (arithmetic complement) of data in a
general register.
Rd (zero extension)
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.
Rd (sign extension)
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.
8 bits
Rs
Rd
8-bit quotient and 8-bit remainder or 32 bits
Rd
(<bit 7> of @ERd)
Rd
Rd
Rev. 3.00 Jan 25, 2006 page 37 of 872
REJ09B0286-0300
16 bits
Section 2 CPU
16-bit

Related parts for h8s-2158