It's kinda dangerous but you can use
@ ORG 1000h
your code here
It's kinda dangerous but you can use
@ ORG 1000h
your code here
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Why someone would want to start a code at page boundary?
May be I need to learn that.
---------------------
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
I gotta parrot sayzer, why is that important? Are you trying to find out what code to leave off in order to use a pic with less space?Originally Posted by sayzer
JS.
Curiousity killed the cat
Satisfaction brought him back.
I know about the compiler warnings. I have now re-arranged some code and removed a subroutine, it is now 4.7k and does not have problems.
Thanks for the comments.
Hi, Aerostar
I've already noted some troubles as you describe ... diseappearing when subs are re-arranged !!!
Generally when subroutines are placed at the end of the program , not so far from boundary limits ... ( If - Then tests not working i.e. )
I wrote a thread about that in those columns ... but no definitive answer !!!
Can't find a satisfying explanation to that ...
Alain
Last edited by Acetronics2; - 13th December 2006 at 13:35.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Originally Posted by Acetronics
Now that's different...I've always put my sub's at the beginning of the program and jumped over them and haven't had a problem. Huh... even more unsatisfying isn't it?
JDG
On older version of PBP there was an issue with the placement of sub's. I think it was prior to 2.32. After that there was no limit as to where one can put his sub's. BUT, I found that rearranging the subs, there was a great improvment on the final code size.
I suppose this is explained considering the boundary limits and the asm commands used by the compiler.
Ioannis
Bookmarks