UPD78F0886GA(A)-GAM-AX NEC, UPD78F0886GA(A)-GAM-AX Datasheet - Page 66

8BIT MCU, 60K FLASH, 3KB RAM, CAN

UPD78F0886GA(A)-GAM-AX

Manufacturer Part Number
UPD78F0886GA(A)-GAM-AX
Description
8BIT MCU, 60K FLASH, 3KB RAM, CAN
Manufacturer
NEC
Datasheet

Specifications of UPD78F0886GA(A)-GAM-AX

Controller Family/series
UPD78F
No. Of I/o's
41
Ram Memory Size
3KB
Cpu Speed
20MHz
No. Of Timers
8
No. Of Pwm Channels
6
Digital Ic Case Style
LQFP
Core Size
8bit
Program Memory Size
60KB
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
66
[Instruction format]
[Operation]
[Operand]
[Flag]
[Description]
[Description example]
CMPW
• The source operand (src) specified by the 2nd operand is subtracted from the destination operand (dst)
• If the subtraction result is 0, the Z flag is set (1). In all other cases, the Z flag is cleared (0).
• If the subtraction generates a borrow out of bit 15, the CY flag is set (1). In all other cases, the CY flag is
• As a result of subtraction, the AC flag becomes undefined.
CMPW AX, #ABCDH; ABCDH is subtracted from the AX register and only the flags are changed (comparison
specified by the 1st operand.
The subtraction result is not stored anywhere and only the Z, AC and CY flags are changed.
cleared (0).
Mnemonic
Z
×
CMPW
AC
×
AX, #word
CMPW dst, src
dst – src
CY
×
Operand(dst,src)
of the AX register and the immediate data).
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
User's Manual U12326EJ4V0UM
Word Data Comparison
Compare Word

Related parts for UPD78F0886GA(A)-GAM-AX