UPD78F0138 NEC, UPD78F0138 Datasheet - Page 353

no-image

UPD78F0138

Manufacturer Part Number
UPD78F0138
Description
(UPD78xxxx) 8-Bit Single-Chip Microcontrollers
Manufacturer
NEC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F0138M1GK-9ET
Manufacturer:
NEC
Quantity:
115
Part Number:
UPD78F0138M5GB
Manufacturer:
NEC
Quantity:
20 000
Address: FF62H, FF63H, FF64H, FF65H
Symbol
MDA0H
Symbol
MDA0L
(1) Remainder data register 0 (SDR0)
Cautions 1. The value read from SDR0 during operation processing (while bit 7 (DMUE) of
(2) Multiplication/division data register A0 (MDA0H, MDA0L)
Cautions 1. MDA0H is cleared to 0 when an operation is started in the multiplication mode (when
Address: FF60H, FF61H
Symbol
SDR0
SDR0 is a 16-bit register that stores a remainder. This register stores 0 in the multiplication mode and the
remainder of an operation result in the division mode.
This register can be read by an 8-bit or 16-bit memory manipulation instruction.
RESET input clears this register to 0000H.
MDA0 is a 32-bit register that sets a 16-bit multiplier A in the multiplication mode and a 32-bit dividend in the
division mode, and stores the 32-bit result of the operation (higher 16 bits: MDA0H, lower 16 bits: MDA0L).
MDA
MDA
031
015
2. SDR0 is reset when the operation is started (when DMUE is set to 1).
2. Do not change the value of MDA0 during operation processing (while bit 7 (DMUE) of
3. The value read from MDA0 during operation processing (while DMUE is 1) is not
Figure 16-3. Format of Multiplication/Division Data Register A0 (MDA0H, MDA0L)
SDR
015
multiplier/divider control register 0 (DMUC0) is 1) is not guaranteed.
multiplier/divider control register 0 (DMUC0) is set to 81H).
multiplier/divider control register 0 (DMUC0) is 1).
executed, but the result is undefined.
guaranteed.
MDA
MDA
030
014
SDR
014
MDA
MDA
029
013
Figure 16-2. Format of Remainder Data Register 0 (SDR0)
SDR
FF65H (MDA0HH)
FF63H (MDA0LH)
013
After reset: 0000H
MDA
MDA
028
012
FF61H (SDR0H)
SDR
012
MDA
MDA
027
011
CHAPTER 16 MULTIPLIER/DIVIDER
SDR
011
After reset: 0000H, 0000H
MDA
MDA
026
010
User’s Manual U16228EJ2V0UD
SDR
010
R
MDA
MDA
025
009
SDR
009
MDA
MDA
024
008
SDR
008
MDA
MDA
023
007
SDR
007
R/W
MDA
MDA
022
006
SDR
006
MDA
MDA
021
005
Even in this case, the operation is
SDR
FF64H (MDA0HL)
FF62H (MDA0LL)
005
MDA
MDA
020
004
FF60H (SDR0L)
SDR
004
MDA
MDA
019
003
SDR
003
MDA
MDA
018
002
SDR
002
MDA
MDA
017
001
SDR
001
MDA
MDA
016
000
SDR
000
353

Related parts for UPD78F0138