Specifying ROM words.

The word statement is used to specify the contents of a ROM word. The label field of a word statement is optional. The operands of a word statement, which are called commands, specify the contents of each field of the word. The contents of a field is specified using an expression of the following form.
expression->field_name
To illustrate, consider the following word statements, which specify the contents of three words, whose format is described by field statements.
word 5->flda,017->fldb,0x4c->fldc

word 2->flda,12->fldb,29->fldc

word 0x3->flda,0xa->fldb,0177->fldc

This example also illustrates the use of octal and hexadecimal numbers. Numbers that begin with 0x are assumed to be in hexadecimal format. The digits a,b,c,d,e,f,A,B,C,D,E,F are acceptable in such numbers along with the usual 0-9. Numbers beginning with zero are assumed to be in octal format, and only the digits 0-7 are acceptable. Octal and hexadecimal numbers may be used wherever decimal numbers are acceptable.

See Specifying Fields for more information on field-value specifications.

See Using Equates for additional methods for specifying values.

See Complex Commands for short-hand methods of specifying multiple field values.