參數(shù)資料
型號(hào): μPD789801
廠商: NEC Corp.
英文描述: 8 Bit Single Chip Microcontrollers(8位單片微控制器)
中文描述: 8位單片機(jī)微控制器(8位單片微控制器)
文件頁數(shù): 81/125頁
文件大?。?/td> 366K
代理商: ΜPD789801
CHAPTER 5 EXPLANATION OF INSTRUCTIONS
64
DEC
Decrement
Byte Data Decrement
[Instruction format]
DEC dst
[Operation]
dst
dst - 1
[Operand]
Mnemonic
Operand (dst)
DEC
r
saddr
[Flag]
Z
AC
CY
×
×
[Description]
The destination operand (dst) contents are decremented by only one.
If the decrement result is 0, the Z flag is set to (1). In all other cases, the Z flag is cleared to (0).
If the decrement generates a carry for bit 3 out of bit 4, the AC flag is set to (1). In all other cases, the AC
flag is cleared to (0).
Because this instruction is frequently used for a counter for repeated operations, the CY flag contents are
not changed (to hold the CY flag contents in multiple-byte operation).
If dst is the B or C register or saddr, and it is not desired to change the AC and CY flag contents, the DBNZ
instruction can be used.
[Description example]
DEC 0FE92H; The contents at address FE92H are decremented.
相關(guān)PDF資料
PDF描述
μPD789806Y 8 Bit Single Chip Microcontrollers(8位單片微控制器)
μPD789F806Y 8 Bit Single Chip Microcontrollers(8位單片微控制器)
μPD784036Y 8/16 Bit Single Chip Microcontrollers(8/16 位微控制器)
μPD78P4038Y 8/16 Bit Single Chip Microcontrollers(8/16 位微控制器)
μPD784037Y 8/16Bit Single Chip Microcontrollers(8/16位單片微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PD78F0134 制造商:NEC 制造商全稱:NEC 功能描述:8-Bit Single-Chip Microcontrollers
PD78F0134(A) 制造商:NEC 制造商全稱:NEC 功能描述:8-Bit Single-Chip Microcontrollers
PD78F0134(A1) 制造商:NEC 制造商全稱:NEC 功能描述:8-Bit Single-Chip Microcontrollers
PD78F0134A 制造商:NEC 制造商全稱:NEC 功能描述:8-Bit Single-Chip Microcontrollers
PD78F0134A1 制造商:NEC 制造商全稱:NEC 功能描述:8-Bit Single-Chip Microcontrollers