Check the CONFIG.SYS file in the erroneous situation. The FILES entry should be set at least to 20 (if omitted, you have only 8 handles). Regards, Imre On Wed, 7 Mar 2001, Stan Ockers wrote: > Subject: Time: > 11:04 AM > [PIC]: MPASM woes > 3/7/01 > Date: > I'm trying to use a PIC16F872 so I go to Microchip to get the latest > version of MPASM. Is anyone as ticked off as I am at having to download 10 > megabytes,(MPLAB), to get a couple hundred kilobyte program? Anyway I get > version 2.61 and the version of p16f872.inc that goes with it. > > I put MPASM and the include file in the same directory as the following > program on three different computers, (I'm using DOS): > ; BINCNT72.ASM > > LIST p=16f872 ; tells which processor is used > #INCLUDE "p16f872.inc" > __CONFIG _PWRTE_ON & _XT_OSC & _WDT_ON & _LVP_OFF > > movlw 0 > tris PORTB > loop: > sleep > incf PORTB, f > goto loop > end > > Typing in 'mpasm bincnt72.asm' resulted in the following: > > 486 33 running Windows 95 rebooted in DOS mode: no errors > 386 33 running DOS 6.22: no errors > 386 20 running DOS 6.20 1 error, (105), saying that mpasm can't find > the include file. > > What is wrong with the 3rd computer, it worked in the other 2? I've > tried almost everything I can think of and it still won't assemble without > that 105 error. > > Stan > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > > > > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads