HP 9835A Programming Manual page 66

35 series desktop computer assembly development rom
Table of Contents

Advertisement

50
Assembly Language Fundamentals
Here's a simple example of this from Chapter 2 -
50
ISOURCE
NOP
E2
ISOUR'F
END E_
The {line number} and {BASIC label} are the same as you are used to in BASIC. However, it
should be noted that the statement is not an executable one, so the BASIC label is only useful
for documentation and EDIT purposes.
To BASIC, the ISOURCE statement appears as a comment. If you were to change the above so
that it read -
and then executed a statement "GOTO Example", the result would be to simply execute the
END statement in line 70. That is because, to BASIC, the lines appear the same as -
or-
The BASIC label on an ISOURCE line finds its most useful characteristic in being able to be
referenced, as any other BASIC label on any other type of line may be, with an EDIT com-
mand. Thus, if you were to execute -
on the above, you would be working in the editor, starting with line 40. This feature will
become useful during program development as will be pointed out shortly.

Advertisement

Table of Contents
loading

Table of Contents