HD6412340 HITACHI [Hitachi Semiconductor], HD6412340 Datasheet - Page 64

no-image

HD6412340

Manufacturer Part Number
HD6412340
Description
H8S/2345 F-ZTAT Hardware Manual
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6412340TE20
Manufacturer:
SANYO
Quantity:
20 000
Part Number:
HD6412340TE20
Manufacturer:
HITACHI/日立
Quantity:
20 000
Table 2.3
Type
Arithmetic
operations
Note: * Size refers to the operand size.
44
B:
W: Word
L:
Byte
Longword
Instructions Classified by Function (cont)
Instruction
DIVXS
CMP
NEG
EXTU
EXTS
TAS
Size*
B/W
B/W/L
B/W/L
W/L
W/L
B
Function
Rd
Performs signed division on data in two general
registers: either 16 bits
remainder or 32 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.
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.
Rs
Rd
Rd
(<bit 7> of @Erd)
16 bits
Rd
Rd
8 bits
16-bit quotient and 16-
8-bit quotient and 8-bit

Related parts for HD6412340