Download TMS320C55x Assembly Language Tools User's Guide
Transcript
Constants Note the difference between character constants and character strings (Section 3.8, Character Strings, on page 3-24, discusses character strings). A character constant represents a single integer value; a string is a list of characters. 3.7.6 Floating-Point Constants A floating-point constant is a string of decimal digits, followed by an optional decimal point, fractional portion, and exponent portion. The syntax for a floating-point number is: [ +|– ] [ nnn ] . [ nnn [ E|e [ +|– ] nnn ] ] Replace nnn with a string of decimal digits. You can precede nnn with a + or a –. You must specify a decimal point. For example, 3.e5 is valid, but 3e5 is not valid. The exponent indicates a power of 10. These are examples of valid constants: 3.0 3.14 .3 –0.314e13 +314.59e–2 Assembler Description 3-23
Related documents
TMS320C55x Assembly Language Tools User's Guide (Rev. H)
"Fixed-Point DSP Assembly Language Tools User's Guide"
MSP430 Assembly Language Tools v 3.1 User's Guide (Rev. C
TMS320C6000 Assembly Language Tools User's Guide
TMS320C54x Assembly Language Tools User's Guide
TASKING VX-toolset for RH850 User Guide
TMS320C55x Optimizing C/C++ Compiler User's Guide
"TMS320C3x/C4x Assembly Language Tools User's Guide"
Processor Debugging Through Ethernet
Hammond Organ Service Manual - Early Models (A,B,C series, B3
TMS320C55x Optimizing C/C++ Compiler
"Configuring Code Composer Studio for