Hi Jack,
In Microcode Studio, click on View then Compile & Program Options then Assembler. Click on MPASM. MCS should find where MPASM is on your hard drive and that should be it.
BobK
Hi Jack,
In Microcode Studio, click on View then Compile & Program Options then Assembler. Click on MPASM. MCS should find where MPASM is on your hard drive and that should be it.
BobK
bob i wish it was
from what i have read the program structure is different with pb
or mpasm guess because i can use pb i will leave well enough alone
just dont understand why even the simplest programs do not assembe without errors using mpasm
thanks for your time will keep looking at posts
If you accepted the default install directory on drive C, you should find the
assembler in C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe
Use the find manually option in MCS to locate it.
found file using the latest ver mpasmwin but still get errors using this assembler
on any programs i have
can some attach a link to a small program that should assemble using mpasm
that way i could eliminate some thing even simple program like blink pbp samples give many errors
Try the simple blink LED example in your PBP samples directory.
What error does it return (if any)?
bruce
i got the onewire temp program to compile and assemble properly
so i can use the info to find whats wrong
there must be something about how these programs were complied origanally that makes them unable to compile using mpasm
???/ question even though program works fine and temp changes readings are
way off any ideas? using da18s20
thanks for your help
jack
Through the guidance of the guys here, I found that when using MPSAM to compile a PBP program you often get awarning about overwriting settings. The fix is to open up the INC file for the target PIC in the PBP directory and rem out the config line.
EG
Code:;**************************************************************** ;* 16F628A.INC * ;* * ;* By : Leonard Zerman, Jeff Schmoyer * ;* Notice : Copyright (c) 2003 microEngineering Labs, Inc. * ;* All Rights Reserved * ;* Date : 11/06/03 * ;* Version : 2.45 * ;* Notes : * ;**************************************************************** NOLIST ifdef PM_USED LIST include 'M16F62xA.INC' ; PM header device pic16F628A, xt_osc, wdt_on, mclr_on, lvp_off, protect_off XALL NOLIST else LIST LIST p = 16F628A, r = dec, w = -302 INCLUDE "P16F628A.INC" ; MPASM Header ; __config _XT_OSC & _WDT_ON & _MCLRE_ON & _LVP_OFF & _CP_OFF NOLIST endif LIST
Bookmarks