1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-01 07:50:37 +00:00

Minor wordsmithing

This commit is contained in:
Andy McFadden 2019-12-25 19:00:57 -08:00
parent 091955b9c2
commit 9a6e87f496

View File

@ -261,12 +261,12 @@ editor, then in the bottom left panel click "Create Label". Type "IS_OK",
then click "OK". Make sure the operand format is still set to Default, then click "OK". Make sure the operand format is still set to Default,
then click "OK".</p> then click "OK".</p>
<p>This puts the label IS_OK at line $2009, and we can see the BCC <p>This puts the label IS_OK at line $2009, and we can see the BCC
instruction has it as well. We didn't have to manually type the symbol instruction has it as well. We were able to leave the BCC instruction
for the BCC instruction because the numeric reference to $2009 was set to Default format because the numeric reference to $2009 was
automatically resolved to the IS_OK label. You could do the same thing automatically resolved to the IS_OK label. You could do the same thing
by editing the label on line $2009 directly, but in many cases -- by editing the label on line $2009 directly as we did earlier, but
particularly when the operand's target address is far off screen -- in many cases -- particularly when the operand's target address is far
it's more convenient to work through the operand editor.</p> off screen -- it's more convenient to work through the operand editor.</p>
<h3>Unique vs. Non-Unique Labels</h3> <h3>Unique vs. Non-Unique Labels</h3>
@ -275,8 +275,8 @@ scope when a non-local (global) label is encountered. The actual
definition of "local" is assembler-specific, but SourceGen allows you definition of "local" is assembler-specific, but SourceGen allows you
to create labels that serve the same purpose.</p> to create labels that serve the same purpose.</p>
<p>By default, newly-created labels have global scope and must be <p>By default, newly-created labels have global scope and must be
unique. You can change that by editing the label. Up near the top of unique. You can change these attributes when you edit the label. Up near the
the file, at address $1002, double-click on the label ("L1002"). top of the file, at address $1002, double-click on the label ("L1002").
Change the label to "LOOP" and click the "non-unique local" button. Change the label to "LOOP" and click the "non-unique local" button.
Click OK.</p> Click OK.</p>
<p>The label at line $1002 should now be "@LOOP". By default, '@' is <p>The label at line $1002 should now be "@LOOP". By default, '@' is