hit counter script

Syntaxing The Source - HP 9835A Programming Manual

35 series desktop computer assembly development rom
Table of Contents

Advertisement

54
Assembly Language Fundamentals
At syntax time, the assembler takes care of capitalization, lower case, and spacing for the
source. It's quite similar to the SPACE DEPENDENT mode of entry for BASIC statements (that
mode is not required to get the effect with the assembly system). It follows the following rules in
syntaxing the source -
• Everything between the ISOURCE and the colon (if present) is the label. Its initial
character is capitalized and the remaining letters are converted to lower-case. This is
regardless of whether they were entered in that form.
• The label, if present, is left-justified to the second column following the keyword
ISOURCE.
• The first three letters following the colon (or just the first three letters, if there is no label)
are considered the machine instruction or pseudo-instruction and are capitalized. The
instruction will remain in the same column as it was entered, and, if possible, a space is
added after it.
• Everything after the instruction or pseudO-instruction is considered the operand for the
instruction, up until the exclamation point before the comment (if any). Any label (sym-
bol) in the operand will have its initial character capitalized and the remaining letters
converted to lower case automatically.
• Comments are unchanged and remain in the same columns as entered, whenever possi-
ble.
In short, simply enter the statement in your most comfortable fashion and the assembly system
automatically assures that what you enter is in the proper form (though it still can't guarantee
that you have entered the right instruction for what you mean to do.
As a demonstration of this facility, consider the following line ready for syntaxing -
It becomes-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents