Re: code directive question
Ben Dugan <[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.gnupic |
|---|---|
| Message-ID | <[email protected]> |
Craig Franklin wrote:
> Read 5.5-6.4 of the MPLINK section.
Craig,
I really appreciate your patience with me on this: I must be missing
something very obvious! I just read sections 5.5 - 6.4 but I still
don't get it.
I'd like to ask a question about the example in section 7.4:
The source code example file they give there has the line:
INTHAND CODE
I assume lines following that are going to be placed in the section
identified in the linker script as:
CODEPAGE NAME=vectors START=0x0 END=0x27 ...
What I don't understand is how the linker knows how to do that?
Shouldn't the names ("INTHAND" in the asm file, and "vectors" in the
linker script) match or something?
I know I'm missing something!
Ben