changeset 651:ac4142f99b21

Appendix C is finished
author roug
date Mon, 16 Dec 2002 17:08:02 +0000
parents 7ff1a575e2e8
children 7fb3d02e04b0
files docs/ccguide/asm.appendix
diffstat 1 files changed, 21 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/docs/ccguide/asm.appendix	Wed Dec 11 20:52:27 2002 +0000
+++ b/docs/ccguide/asm.appendix	Mon Dec 16 17:08:02 2002 +0000
@@ -64,13 +64,32 @@
 <section>
 <title>Undefined names</title>
 <para>
+If a symbolic name is used in an expression and hasn't been defined,
+RMA assumes the name is external to the PSECT. RMA will record
+information about the reference so the linker can adjust the operand
+accordingly. External names cannot appear in operand expressions
+for assembler directives.
 </para>
 </section>
 
 <section>
 <title>Listing format</title>
-<para>
-</para>
+<programlisting>
+00098 0032 59        +         rolb
+00117 0045=17ffb8      label   lbsr  _dmove     Comment
+^     ^   ^^         ^ ^       ^     ^          ^
+|     |   ||         | |       |     |          Start of comment
+|     |   ||         | |       |     Start of operand
+|     |   ||         | |       Start of mnemonic
+|     |   ||         | Start of label
+|     |   ||         A "+" indicates a line generated by a macro
+|     |   ||         expansion.
+|     |   |Start of object code bytes.
+|     |   An "=" here indicates that the operand contains an
+|     |   external reference.
+|     Location counter value
+Line number.
+</programlisting>
 </section>
 
 <section>