文件名称:BCD_ADD
介绍说明--下载内容均来自于网络,请自行研究使用
This routine performs a 2 Digit Unsigned BCD Addition
It is assumed that the two BCD numbers to be added are in
locations Num_1 & Num_2. The result is the sum of Num_1+Num_2
and is stored in location Num_2 and the overflow carry is returned
in location Num_1
Performance :
Program Memory : 25
Clock Cycles : 23 ( worst case )
- This routine performs a 2 Digit Unsigned BCD Addition
It is assumed that the two BCD numbers to be added are in
locations Num_1 & Num_2. The result is the sum of Num_1+Num_2
and is stored in location Num_2 and the overflow carry is returned
in location Num_1
Performance :
Program Memory : 25
Clock Cycles : 23 ( worst case )
It is assumed that the two BCD numbers to be added are in
locations Num_1 & Num_2. The result is the sum of Num_1+Num_2
and is stored in location Num_2 and the overflow carry is returned
in location Num_1
Performance :
Program Memory : 25
Clock Cycles : 23 ( worst case )
- This routine performs a 2 Digit Unsigned BCD Addition
It is assumed that the two BCD numbers to be added are in
locations Num_1 & Num_2. The result is the sum of Num_1+Num_2
and is stored in location Num_2 and the overflow carry is returned
in location Num_1
Performance :
Program Memory : 25
Clock Cycles : 23 ( worst case )
(系统自动生成,下载前可以参看下载内容)
下载文件列表
BCD_ADD2.ASM
BCD_ADD.ASM
BCD_ADD.ASM