PDA

View Full Version : Using MPLABX 5.35 Assembler without PbPro



retepsnikrep
- 22nd December 2023, 15:09
I have an assembler file I want to compile for the PIC18F452.

How can I call the MPLABX 5.35 assembler (installed with PbPro) and send it the attached ASM code directly?

Thanks.....

9518

retepsnikrep
- 22nd December 2023, 17:37
I seem to have MPASM 5.76

Use windows interface mpasmwin with the default options the file tried to assemble but gave me the following errors.



Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 548 : Symbol not previously defined (W_TEMP)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 549 : Symbol not previously defined (STATUS_TEMP)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 640 : Symbol not previously defined (W_TEMP)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 641 : Symbol not previously defined (STATUS_TEMP)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 668 : Symbol not previously defined (GETKEYS)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 670 : Symbol not previously defined (DOCONVERSIONS)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 699 : Symbol not previously defined (LOOPSTART)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 702 : Symbol not previously defined (LOOPSTART)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 1596 : Symbol not previously defined (INIT)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2504 : Symbol not previously defined (ccpr1l)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2516 : Symbol not previously defined (ccpr1l)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2524 : Symbol not previously defined (ccpr1l)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2548 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2550 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2550 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2551 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2551 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2553 : Symbol not previously defined (adresh)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2555 : Symbol not previously defined (adresl)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2560 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2562 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2562 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2563 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2563 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2565 : Symbol not previously defined (adresh)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2567 : Symbol not previously defined (adresl)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2572 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2574 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2574 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2575 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2575 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2577 : Symbol not previously defined (adresh)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2579 : Symbol not previously defined (adresl)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2584 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2586 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2586 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2587 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2587 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2589 : Symbol not previously defined (adresh)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2591 : Symbol not previously defined (adresl)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2596 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2598 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2598 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2599 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2599 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2601 : Symbol not previously defined (adresh)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2603 : Symbol not previously defined (adresl)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2608 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2610 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2610 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2611 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2611 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2613 : Symbol not previously defined (adresh)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2615 : Symbol not previously defined (adresl)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2619 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2621 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2621 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2622 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2622 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2624 : Symbol not previously defined (adresh)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2626 : Symbol not previously defined (adresl)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2630 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2632 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2632 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2633 : Symbol not previously defined (go)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2633 : Symbol not previously defined (adcon0)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2635 : Symbol not previously defined (adresh)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2637 : Symbol not previously defined (adresl)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 2699 : Symbol not previously defined (SW3)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 3866 : Symbol not previously defined (DELAYLO)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 3867 : Symbol not previously defined (WLOOP1)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 3868 : Symbol not previously defined (DELAYLO)
Error[113] C:\USERS\150MP\DOWNLOADS\MIMA1_5_8.ASM 4320 : Symbol not previously defined (DOCONVERSIONS)

tumbleweed
- 23rd December 2023, 14:39
Turn off "case-sensitive".

If you have MPLABX 5.35, the version of mpasmx should be 5.87... that's the last released version.
You should find it in the MPLABX install directory under the mpasmx folder, which for me is MPLABX\v5.35\mpasmx\mpasmx.exe

Run the exe, 'Browse...' to the folder of your .asm file to select the source file name, and 'Assemble'.
Works for me here.

It would probably work with just about any version of mpasmx/mpasmwin (same program) since the 18F452 is so old.