return takes 2 also. Jianhua Zhang wrote: > I have a small delay subroutine in my code: > > ..... > call delay > .... > > delay > nop > nop > nop > return > > Now I want to replace the 'call delay' with some 'nop's. > How many 'nop' should I use so the program will run same time as the 'call > delay'? I know a 'call' equals 2 'nop's. what about the 'return'? > > > _______________________________________________ > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist