PDA

View Full Version : Using MPASM



fowardbias
- 6th September 2007, 03:23
I may try using one of the 18F series chips with PBP and MPASM. Will the compiler do everything it has done before using Basic or will I have to write more of the code in ASM? I noticed the inc.files for the 18F's refer to using MPASM. If using MCS Studio, just click on View, Compile and Programs Options, Assembler, click MPASM then write code in the native PBP Basic and thats about it? I have always done the config. in ASM in the header out of habit. ASM can be a drag with the page thing and all the other stuff. I always found myself stuffing the code in small macros and trying to find them later.

BrianT
- 6th September 2007, 03:41
MCS+ must be latest version to support the 18F4550 I found out. AFAIK you can leave the CONFIG data to PBP and do not need to write any ASM code unless you want to.

I have managed to get MCS+ 3.0.0.0 with PBP 2.47 and MPASM 5.03 to work with the 18F4550. Only trouble so far is PBP or something is loading about 2000 bytes of USB drivers that I do not want. I haven't figured out how to stop this yet.