FCB - Form Constant Byte

[label]	FCB	expression[,expression,...,expression]

The FCB directive may have one or more operands separated by commas. The value of each operand is truncated to eight bits, and is stored in a single byte of the object program. Multiple operands are stored in successive bytes. If a label is present it will be assigned address of the first byte in the declaration. The operand may be a numeric constant, a character constant, a symbol, or an expression. If multiple operands are present, one or more of them can be null (two adjacent commas), in which case a single byte of zero will be assigned for that operand. An error will occur if the upper eight bits of the evaluated operands' values are not all ones or all zeros.


Example:
	fcb	$00
fcb $00,3,44,$33


CASM also supports an additional expression format compatible with the Macro-80C assembler on the Color Computer. This special format allows single or multiple byte blocks to be repeated a specific number of times.

Example:
	fcb	5[$00]		* Repeat byte $00 5 times
	fcb	10[$44,$11]	* Repeat seq. $44,$11 10 times



See also:

Compatibility:
CASM X
CCASM X
OS-9 RMA X
Edt/Asm III X
Edtasm6309 X
Disk Edtasm+ X*
Edtasm+ X*
Macro-80C X

*The stock versions of EDTASM+ and Disk EDTASM+ do not support multiple FCB expressions on a single line.