
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
Summary of Contents for TMS320C3 Series
Page 1: ...TMS320C3x DSP Starter Kit User s Guide...
Page 18: ...1 4...
Page 28: ...2 10...
Page 82: ...5 18...
Page 140: ...Communications Kernel Source Code A 12...
Page 145: ...Schematics B 5 DSK Circuit Board Dimensions and Schematic Diagrams...
Page 146: ...Schematics B 6...
Page 147: ...Schematics B 7 DSK Circuit Board Dimensions and Schematic Diagrams...
Page 148: ...Schematics B 8...
Page 149: ...Schematics B 9 DSK Circuit Board Dimensions and Schematic Diagrams...
Page 150: ...Schematics B 10...
Page 154: ...B 14...
Page 160: ...C 6...
Page 166: ...Index 6...