Code:@ GOTO 0x0F4C
Isn't necessary to change pages? As this is in assembly, PBP does not take care of this, I suppose.
Ioannis
From another thread I saw he's using an 18F4550 with a USB bootloader.
So nope. No Pages to worry about.
<br>
DT
Hi, Darrel
While on that subject ...
I use, on a 16F88 :
Works and compiles fine ... BUTCode:' If program lost @ ORG 4094 ' Pointer to the end of program @ CLRF PCLATH ' pointer in the right page ( lol ) @ GOTO INIT ' It's gone for another round... ' @ END
No way to use Breakpoints in MPSIM when lines not commented ...
Do you have any idea about that ??? ( µChip tells ... go and see Melabs !!! - as always ... )
Alain
************************************************** ***********************
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 " !!!
*****************************************
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Thanks Darrel30 years of snivel service teaches you to pick fly specks out of the pepper ELSE Nazi bosses frag your reputation.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Hi, joe
YES ... looks right, but compiles and runs fine.
After all, It's a PBP program ... intelligent compiler ? lol : might be.
In fact, MPLAB accept both " ; " and " ' " ... as MPLAB Editor is set to "Basic" mode. Why not use what computers offer for ease of work ( Humour ...)
Changing " ' " to " ; " do not change anything ...
You're quite right : Manual says " line is sent verbatim" ... but, obviously, comments are not sent !!!
Alain
Last edited by Acetronics2; - 10th November 2008 at 09:14.
************************************************** ***********************
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 " !!!
*****************************************
Ask questions and learn, Right? <br>PBP & Assembler, like mixing 10 oz alcohol and 10 oz water, you do not get 20 oz of liquid.
I read books AND this forum, sometimes experience and books do not agree. Anyway I try to help and am not embarrassed to learn from the masters.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Thank you Darrel!
As not being so familiar with the assembler I did not see/realize that there is also GOTO and not just BRA. Now I know that BRA is for short jumps only and GOTO can jump anywhere.
Can you find a "good" 4550 tutorial (not datasheet) somewhere on the web?
Tanks again...
Don't know of any 4550 tutorials.
The PIC18C Reference Manual has a little more info regarding the instruction set. But not enough more to be of much help.
http://ww1.microchip.com/downloads/e...Doc/39500a.pdf
Really, the datasheet has the best info available.
Once you get used to reading them, it gets easier.
Alain,
I haven't used mpsim for awhile, and there's been a few MPLAB upgrades in the mean time. I was going to try your problem, but now PBP isn't even an option in my MPLAB anymore.
I'll have to reinstall the dll again. Been too long, I forget how.
<br>
DT
Bookmarks