Hca.geocities.com/JLABELLE@rogers.com/nsasm/docs/r2009.htmlca.geocities.com/JLABELLE_rogers.com/nsasm/docs/r2009.htmldelayedxnJ OKtext/html@' b.HTue, 07 Dec 2004 00:50:48 GMT<Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)en, *nJ .fb

.fb

Name

.fb --  fills one or more 8-bit bytes of memory with a value

Syntax

.fb size fill value

Description

This directive allocate a block of memory which is size bytes in length. Size must be absolute and defined during pass 1.

Fill specifies the value to which each byte in the block is set. This value may be absolute or relocatable, but may not be complex. An error is indicated if the value does not fit within a byte (range -256 to 255).

If this directive is given a label it refers to the address of the first byte of data and is assigned byte type.

This directive is only valid within ROM type sections.

Only one line of data will appear on the output listing.

Example

	INIT:	.fb 	X'80,0		; set X'80 bytes to zero