H ca.geocities.com /JLABELLE@rogers.com/nsasm/docs/r1663.html ca.geocities.com/JLABELLE_rogers.com/nsasm/docs/r1663.html delayed x nJ % OK text/html @' % b.H Tue, 07 Dec 2004 00:49:37 GMT 8 Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98) en, * mJ %
The .byte and .db directives generate consecutive 8-bit bytes of data for each given expression. If the directive has a label, it refers to the address of the first byte. The value of each expression must be in the range -256 to +255 where -256 is treated as 0, -1 as 255. The value of the expression may be interpreted either as signed or unsigned. The .byte and .db directives are valid only in a ROM type section. Any label will be assigned the byte type.
The hexadecimal value of ASCII characters may be stored in memory using the .db (and .byte) directive and an operand expression specifying character strings or their hexadecimal equivalents. (See Appendix A.)
Note: A single quotation mark in a string is represented by two quotation marks. An ASCII character may also be specified using the escape characters described in Section 2.3.4.