hd66100 Renesas Electronics Corporation., hd66100 Datasheet - Page 45

no-image

hd66100

Manufacturer Part Number
hd66100
Description
H8/3867 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
hd66100F
Manufacturer:
HIT
Quantity:
1 810
Part Number:
hd66100F
Manufacturer:
SW
Quantity:
1 815
Part Number:
hd66100F
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
2.5.2
Table 2.5 describes the arithmetic instructions.
Table 2.5
Instruction
ADD SUB
ADDX SUBX
INC DEC
ADDS SUBS
DAA DAS
MULXU
DIVXU
CMP
NEG
Notes: *
30
Arithmetic Operations
Size: Operand size
B:
W:
Arithmetic Instructions
Byte
Word
Size*
B/W
B
B
W
B
B
B
B/W
B
Function
Rd ± Rs
Performs addition or subtraction on data in two general registers,
or addition on immediate data and data in a general register.
Immediate data cannot be subtracted from data in a general
register. Word data can be added or subtracted only when both
words are in general registers.
Rd ± Rs ± C
Performs addition or subtraction with carry or borrow on byte data
in two general registers, or addition or subtraction on immediate
data and data in a general register.
Rd ± 1
Increments or decrements a general register by 1.
Rd ± 1
Adds or subtracts 1 or 2 to or from a general register
Rd decimal adjust
Decimal-adjusts (adjusts to 4-bit BCD) an addition or subtraction
result in a general register by referring to the CCR
Rd
Performs 8-bit
general registers, providing a 16-bit result
Rd ÷ Rs
Performs 16-bit ÷ 8-bit unsigned division on data in two general
registers, providing an 8-bit quotient and 8-bit remainder
Rd – Rs, Rd – #IMM
Compares data in a general register with data in another general
register or with immediate data, and indicates the result in the
CCR. Word data can be compared only between two general
registers.
0 – Rd
Obtains the two’s complement (arithmetic complement) of data in a
general register
Rs
Rd
Rd, Rd ± 2
Rd
Rd, Rd + #IMM
Rd
Rd
Rd, Rd ± #IMM ± C
8-bit unsigned multiplication on data in two
Rd
Rd
Rd
Rd

Related parts for hd66100