- Category:
- SCM
- Tags:
-
[ASM]
[源码]
- File Size:
- 260kb
- Update:
- 2014-10-29
- Downloads:
- 0 Times
- Uploaded by:
- JAKE
Description: This a complete BCD floating point package for the 8051 micro-
controller. It provides 8 digits of accuracy with exponents that
range from+127 to-127. The mantissa is in packed BCD, while the
exponent is expressed in pseudo-twos complement. A ZERO exponent
is used to express the number ZERO. An exponent value of 80H or
greater than means the exponent is positive, i.e. 80H = E 0,
81H = E+1, 82H = E+2 and so on. If the exponent is 7FH or less,
the exponent is negative, 7FH = E-1, 7EH = E-2, and so on.
ALL NUMBERS ARE ASSUMED TO BE NORMALIZED and all results are
normalized after calculation. A normalized mantissa is >=.10 and
<=.99999999.
The numbers in memory assumed to be stored as follows:
To Search:
File list (Check if you may need any files):
8052 Basic\Basic-52.asm
..........\basic-52.DSN
..........\Basic-52.hex
..........\BASIC-52.LST
..........\BASIC-52.PDF
..........\BASIC-52.SDI
..........\Fp-52.asm
..........\FP-52.HEX
..........\FP-52.LST
..........\FP-52.SDI
..........\trail.txt.1
8052 Basic