Keil Logo

DB Assembler Statement

Arguments
label:〛 DB expression 〚, expression ...〛
Description

The DB statement initializes memory with one or more byte values. label is a symbol that is assigned the current memory address. expression is a byte value that is stored in memory. Each expression may be a symbol, a string, or an expression.

See Also

DD, DS, DSB, DSD, DSW, DW

Example
MSG:    DB      'Press A Key To Continue', 0
TAB:    DB      2, 3, 5, 7, 11, 13, 17, 19, ';'
  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.