Keil Logo

DSB Assembler Statement

Arguments
label:〛 DSB expression
Description

The DSB statement reserves the specified number of bytes in the current memory space. label is a symbol that is assigned the current memory address. expression is the number of bytes to reserve.

This statement reserves space and increments the location counter by the number of bytes reserved.

Note

  • The A251 Assembler is a two-pass assembler. Symbols are defined and the length of each instruction is determined in the first pass. In the second pass, forward references are resolved and object code is produced. The expression used with the DSB statement may not include forward references.
See Also

DBIT, DS, DSD, DSW

Example
COUNT:  DSB      10
TIME:   DSB      8
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.