UPD75518 NEC, UPD75518 Datasheet - Page 146

no-image

UPD75518

Manufacturer Part Number
UPD75518
Description
4 BIT SINGLE-CHIP MICROCOMPUTER
Manufacturer
NEC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD75518GF-152
Manufacturer:
NEC
Quantity:
40
Part Number:
UPD75518GF-169
Manufacturer:
ST
Quantity:
103
Part Number:
UPD75518GF-245-3B9
Manufacturer:
NEC
Quantity:
275
Part Number:
UPD75518GF-245-3B9
Manufacturer:
NEC
Quantity:
1 000
Part Number:
UPD75518GF-347
Manufacturer:
CORERIVER
Quantity:
930
Part Number:
UPD75518QF
Manufacturer:
ROHM
Quantity:
11 970
146
(3) String effect instructions
(4) Base conversion instruction
When two or more instructions in the same group (group A or B) are placed at two or more string effect
addresses, the instruction placed at the start point of the string effect instructions is executed. After that,
each string effect instruction is executed as an NOP instruction.
Group A: MOV A, #n4, MOV XA, #n8
Group B: MOV HL, #n8
The PD75518(A) is provided with base conversion instructions to convert the results of addition and
subtraction of 4-bit data to a base-n number.
When a base-m number is to be obtained, the following combinations of instructions are used for
adjustment.
• For addition
• For subtraction SUBC A, @HL
The result of adding or subtracting the contents of the accumulator and the memory addressed by the
HL register pair is converted to a base-m number. However, for subtraction, the complement of the
obtained result (base-m number) is set in the accumulator. An overflow or underflow is reflected in the
carry flag. (In the above combinations, the skip function of the ADDS A, #m instruction is prohibited.)
ADDS A, #16-m
ADDC A, @HL
ADDS A, #m
ADDS A, #m
PD75518(A)

Related parts for UPD75518