Next: Dcb, Previous: Data, Up: Pseudo Ops [Contents][Index]
.dc[size] expressionsThe .dc directive expects zero or more expressions separated by commas. These expressions are evaluated and their values inserted into the current section. The size of the emitted value depends upon the suffix to the .dc directive:
.aEmits N-bit values, where N is the size of an address on the target system.
.bEmits 8-bit values.
.dEmits double precision floating-point values.
.lEmits 32-bit values.
.sEmits single precision floating-point values.
.wEmits 16-bit values. Note - this is true even on targets where the .word directive would emit 32-bit values.
.xEmits long double precision floating-point values.
If no suffix is used then .w is assumed.
The byte ordering is target dependent, as is the size and format of floating point values.
Note - these directives are not intended for encoding instructions, and they will not trigger effects like DWARF line number generation. Instead some targets support special directives for encoding arbitrary binary sequences as instructions such as .insn or .inst.