UPD78F1144AGB-GAH-AX Renesas Electronics America, UPD78F1144AGB-GAH-AX Datasheet - Page 685

no-image

UPD78F1144AGB-GAH-AX

Manufacturer Part Number
UPD78F1144AGB-GAH-AX
Description
MCU 16BIT 78K0R/KX3 64-LQFP
Manufacturer
Renesas Electronics America
Series
78K0R/Kx3r
Datasheet

Specifications of UPD78F1144AGB-GAH-AX

Core Processor
78K/0R
Core Size
16-Bit
Speed
20MHz
Connectivity
3-Wire SIO, I²C, LIN, UART/USART
Peripherals
DMA, LVD, POR, PWM, WDT
Number Of I /o
50
Program Memory Size
128KB (128K x 8)
Program Memory Type
FLASH
Ram Size
8K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F1144AGB-GAH-AX
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
UPD78F1144AGB-GAH-AX
Manufacturer:
Renesas Electronics America
Quantity:
10 000
(2) Subtraction: Calculating the result of subtracting a BCD code value from another BCD code value by
<1> The BCD code value from which subtraction is performed is stored in the A register.
<2> By subtracting the value of the second operand (value of BCD code to be subtracted) from the A register
<3> Decimal correction is performed by subtracting the value of the BCDADJ register (correction value) from
An example is shown below.
Example: 91 − 52 = 39
as is in binary, the calculation result in binary is stored in the A register, and the correction value is stored
in the BCDADJ register.
the A register (subtraction result in binary) in binary, and the correction result is stored in the A register
and CY flag.
Caution The value read from the BCDADJ register varies depending on the value of the A
MOV A, #91H
SUB A, #52H
SUB A, !BCDADJ
using a BCD code value
register when it is read and those of the CY and AC flags. Therefore, execute the
instruction <3> after the instruction <2> instead of executing any other instructions. To
perform BCD correction in the interrupt enabled state, saving and restoring the A
register is required within the interrupt function. PSW (CY flag and AC flag) is restored
by the RETI instruction.
Instruction
CHAPTER 25 BCD CORRECTION CIRCUIT
; <1>
; <2>
; <3>
User’s Manual U17854EJ9V0UD
A Register
91H
3FH
39H
CY Flag
0
0
AC Flag
1
0
BCDADJ
Register
06H
683

Related parts for UPD78F1144AGB-GAH-AX