I'm not trying to be obtuse, but YES, you pad it. Andy Dan Michaels on 08/21/2000 11:02:35 AM Please respond to pic microcontroller discussion list To: PICLIST@MITVMA.MIT.EDU cc: (bcc: Andrew Kunz/TDI_NOTES) Subject: Re: [PIC]: Sine table At 10:45 AM 08/21/2000 -0400, you wrote: >Sorry, forgot to add a wink ;-) > >I use interrupts for long-period stuff (like the period between steps for my >sine generation). When I need short items, I pad with NOPs and delay loops >(inline assembly works great). > >Essentially the same way as with assembly code, just easier to comprehend. > >Andy > This is how you get deterministic timing in C - by using inline assembly? [guess it's difficult to get a straight answer on a monday morning]. - danM -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu