A further discussion can be found in the Piclist Archive. To summarize, y= ou can suppress any messages with the command I posted. According to the MPASM Users Guide, there are three returns when compilin= g your code. Messages, Warnings, and Errors. A Message is just a note or comment and should be understood and noted. A Warning is a slap on the wrist. You should understand what you did (wro= ng), and try to fix it. It may run within your project. An Error is just what it says. You must fix the error before proceeding. = MPLAB will not continue or create a hex file. I don't recommend suppressing any messages until your written code is alm= ost complete. You may be blocking a legitimate message that could come back to haunt you. Once everything is working and you want to print a clean listing, suppres= s the messages, recompile and print. Rick "Rick C." wrote: > Put this line near the top of your code: > errorlevel-302 > > Rick > > Jan-erik S=F6derholm (QAC) wrote: > > > Hi. > > I'm getting "Message[302]" messages from MPLAB when asambling > > the following code. I'm not sure why I get this, I can't > > find any error(s). Anyone seeing anything wrong ? > > This is part of the startup of a larger program, and > > there is no problem with the program, it runs as intended. > > Using MPLAB 5.70.00. > > > > Jan-Erik S=F6derholm. > > > > --------------------- Code starts here -------------- > > list p=3D16f84a > > #include > > __CONFIG 0x3FF3 > > org 0x00 ;Reset Vector > > goto START > > org 0x05 ;Start Program > > START > > clrf PORTB ;Clear PortB (LED's off) > > bsf STATUS, RP0 ;Select Bank 1 > > clrf trisb ;Set PortB as output > > bsf trisa, ra0 > > bsf trisa, ra1 > > bcf STATUS, RP0 ;Select Bank 0 > > END > > --------------------- Code ends here ----------------- > > > > ------- Output in the error window in MPLAB ---------- > > Building BANKTEST.ASM... > > > > Command line: "C:\PROGRAM\MPLAB\MPASMWIN.EXE /e+ /x- /c- /p16F84A /= q BANKTEST.ASM" > > Message[302] C:\PROGRAM\MPLAB\BANKTEST.ASM 11 : Register in operand n= ot in bank 0. Ensure that bank bits are correct. > > Message[302] C:\PROGRAM\MPLAB\BANKTEST.ASM 12 : Register in operand n= ot in bank 0. Ensure that bank bits are correct. > > Message[302] C:\PROGRAM\MPLAB\BANKTEST.ASM 13 : Register in operand n= ot in bank 0. Ensure that bank bits are correct. > > > > Build completed successfully. > > > > -- > > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body > > -- > http://www.piclist.com#nomail Going offline? Don't AutoReply us! > email listserv@mitvma.mit.edu with SET PICList DIGEST in the body -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body