
Initialize 2s-Complement Integers
.qxx
6-25
Assembler Directives
Syntax
.q
xx value
1
[,..., value
n
]
Description
The .q
xx directive generates signed, 2s-complement fractional integers and
long integers whose decimal point is displaced
xx places from the LSB.
Example
Here’s an example of the .qxx directive. The value of
xx can be either positive
or negative.
.q0
3.1415926
; All upper 32 bits are integers
.q1
3.1415926
; One fractional bit (left shift 1
.q2
3.1415926
; Two fractional bits (left shift 2)
.q16
3.1415926
; Upper 16 are whole integers,
; lower 16 are fractional
Содержание TMS320C3 Series
Страница 1: ...TMS320C3x DSP Starter Kit User s Guide...
Страница 18: ...1 4...
Страница 28: ...2 10...
Страница 82: ...5 18...
Страница 140: ...Communications Kernel Source Code A 12...
Страница 145: ...Schematics B 5 DSK Circuit Board Dimensions and Schematic Diagrams...
Страница 146: ...Schematics B 6...
Страница 147: ...Schematics B 7 DSK Circuit Board Dimensions and Schematic Diagrams...
Страница 148: ...Schematics B 8...
Страница 149: ...Schematics B 9 DSK Circuit Board Dimensions and Schematic Diagrams...
Страница 150: ...Schematics B 10...
Страница 154: ...B 14...
Страница 160: ...C 6...
Страница 166: ...Index 6...