Renesas H8S/2319 series Hardware Manual page 74

Renesas 16-bit single-chip microcomputer
Table of Contents

Advertisement

Type
Instruction
Arithmetic
DIVXS
operations
CMP
NEG
EXTU
EXTS
TAS
Rev. 5.00, 12/03, page 44 of 1088
1
Size *
Function
Rd ÷ Rs → Rd
B/W
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.
B/W/L
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 → Rd
B/W/L
Takes the two's complement (arithmetic complement) of
data in a general register.
Rd (zero extension) → Rd
W/L
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) → Rd
W/L
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 → (<bit 7> of @Erd) *
B
Tests memory contents, and sets the most significant bit
(bit 7) to 1.
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2318 series

Table of Contents