ARGH! I am writing a program that does some greater than less than decision making. In the line of the program, I have a series of things like this: movlw h'B3' ; 0 to .3 addwf a, w btfss STATUS, C goto Uno I am adding B3 to the value of a, and if it sets the carry, it should go to a subroutine named Uno. I did this for numbers up to seis(6). My problem is, I put the Subs uno-seis in the end of the program, and MPSIM doesnt want to build the file unless the uno-seis routines are listed before I try to call them. Problem with that is, in addition to making the program near impossible to follow, is the uno-seis routines have a "goto" the main program, and if I give in and move the subroutines back to the top, I get an error that the main section of the program is not defined! This is like a major "what came first, chicken or the egg" thing. ----------------------------------------------------------------------- The Pinto Page: www.eng.usf.edu/~shidel Join the Ford Turbo Mailing List! http://www.FindMail.com/list/turbo/ Scott -71 Pinto, stock 2.3 turbo, 13.67@98, radials 8.1@85 1/8th mile on slicks -85 Merkur 13.764@98 on radials&3300lbs! Under $300 in mods! ------------------------------------------------------------------------