UPD705100GJ-100-8 NEC [NEC], UPD705100GJ-100-8 Datasheet - Page 34

no-image

UPD705100GJ-100-8

Manufacturer Part Number
UPD705100GJ-100-8
Description
V830TM 32-BIT MICROCONTROLLER
Manufacturer
NEC [NEC]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD705100GJ-100-8EU
Manufacturer:
NEC
Quantity:
300
Part Number:
UPD705100GJ-100-8EU
Manufacturer:
NEC
Quantity:
20 000
34
Instruction
CMP
DI
DIV
DIVU
EI
HALT
IN.B
IN.H
IN.W
reg1, reg2
imm5, rag2
reg1, reg2
reg1, reg2
disp16[reg1],
reg2
disp16[reg1],
reg2
disp16[reg1],
reg2
Operand(s)
I
II
II
I
I
II
IX
VI
VI
VI
Format
CY
-
-
-
-
-
-
-
-
OV
0
-
-
-
-
-
-
S
-
-
-
-
-
-
Z
-
-
-
-
-
-
Comparison. reg2 is compared with reg1
sign-extended to a word and the condition flag
is set according to the result.
The comparison involves subtracting reg1 from
reg2.
Comparison. reg2 is compared with imm5
sign-extended to a word and the condition flag
is set according to the result.
The comparison involves subtracting imm5,
sign-extended to a word, from reg2.
Disable interrupt. Maskable interrupts are
disabled. DI instruction cannot disable
nonmaskable interrupts.
Division of signed operands. reg2 is divided by
reg1 (signed operands).
The quotient is stored in reg2 and the remainder
in r30. The division is performed so that the
sign of the remainder will match that of the
dividend.
Division of unsigned operands. reg2 is divided
by reg1 (unsigned operands). The quotient is
stored in reg2 and the remainder in r30. The
division is performed so that the sign of the
remainder will match that of the dividend.
Enable interrupt. Maskable interrupts are
enabled. The EI instruction cannot enable
nonmaskable interrupts.
Processor halt. The processor is placed in
sleep mode.
Port input. disp16, sign-extended to a word,
is added to reg1 to produce an unsigned 32-bit
port address. A byte of data is read from the
resulting port address, zero-extended to a word,
then stored in reg2.
Port input. disp16, sign-extended to a word,
is added to reg1 to produce an unsigned 32-bit
port address. A halfword of data is read from
the produced port address, zero-extended to a
word, and stored in reg2. Bit 0 of the unsigned
32-bit port address is masked to 0.
Port input. disp16, sign-extended to a word,
is added to reg1 to produce an unsigned 32-bit
port address. A word of data is read from the
resulting port address, then written into reg2.
Bits 0 and 1 of the unsigned 32-bit port address
are masked to 0.
Function
PD705100

Related parts for UPD705100GJ-100-8