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