Hi,
I want to have my entire program, including all of the setup from startup.a51 to begin at 8000h. I read the very helpful 189.htm and followed those instructions.
The linker places everything above 8000h, except the initial LCALL STARTUP1 call. It has been placed at 1F40h. ???
When I setup the target so that everything is placed at 0000h, LJMP STARTUP1 is at the first address 0000h. But if I try and move everything to 8000h, this call is not at the beginning and is below my starting address.
Any help is greatly appreciated.
Greg,
I read your post about 6 or 7 times before the light bulb in my head went on. Here's the cryptic answer: You've forgotten an 'h' somewhere.
What I mean is this: 1F40h == 8000 DECIMAL
Wherever you put 8000, you need to put 8000h
-Jay Daniel
... or perhaps 0x8000
Jay,
That was it exactly. Thanks for taking to the time to look into this and help me out.
greg.