Hi, I must stress a fact which make the life simpler (especially for me): administration and complex arithmetic are done in BASIC by me. However, if I need some time-critical or very hardware-dependent (e. g. reading iButton or dealing with my own bus architecture), I can use assembly routines which can be embedded in-line into the Basic program. The both world are connected seamless: Assembly routines can be CALLed, and they can share variables (take care that shared variables are allocated in known banks!). Such way, I couple the human efficiency of Basic with machine efficiency of Assembler. Here is my $0.02. Imre On Tue, 19 Oct 1999, Agnes en Henk Tobbe wrote: > Not as a professional but as a radio - amateur I have done programming to inte rface radio's with other equipment ever since the early 80's. I have used assemb ler (6502 , 80x86 and recently PIC) BASIC, T-Pascal, C. Only recently - after a 8 year break - I took up programming again, this time in PIC-assembler. > In my opinion it really depends on what you want: fast, direct and time criti cal interaction between electronics and processor? Then assembler does the job. With this you have a hands on feeling. You control every bit and cycle by cycle you can predict what is going to happen. It needs an in depths analysis of the process and a very logic mind. When used well it results in the best, fastest a nd most compact code. > All higher languages (BASIC, PASCAL e.a.) make life simpler. Especially when y ou want to process data or make complex calculations. Then a higher language com es in handy. Time critical routines are difficult to make while the one BASIC st atement results (not all the time but usually) in multiple machine code instruct ions. > So it is not OR but AND. When you want to make the most of the PIC (or anyothe r micro) you cannot do without a good workig knowledge of its assembler. and of assembler techniques in general. > Good luck > > Q.Is there an advantage in writing program code in assembler or is the com plied PBasic code just as good. > > >