On Sat, Jun 14, 2008 at 8:29 AM, Olin Lathrop wrote: > James Nick Sears wrote: >> Hey all, I'm working on what might be my first 10F project. I want to >> be sure my code will fit before I order boards, so I'm kind of working >> blind here. > > So don't do the board until the code is done. Since it will have 256 > instructions at most it can't take that that long to write, and the > simulator should let you debug and verify it. I have never yet debugged a > 10F project with anything other than the simulator because it hasn't been > necessary. And yes, I've done quite a few 10F projects. That's the plan. Hence the question. > >> I'll probably go ahead and order a PDIP for prototyping, > > Why? That will require at least one more step to final boards because they > will need the SOT-23 package. If the final boards will have a 8 pin DIP, > then there isn't much point to a 10F. You might as well go with a small > 12F. Because it costs $1, I can wire the whole thing up on a breadboard in 5 minutes, and after I do I can test the whole project before I order boards. And because the final board will have the 3x2 DFN and I don't feel like dead bugging it with a microscope. > >> "The General Purpose Register file is accessed, either directly or >> indirectly, through the File Select Register (FSR). > > They put the comma in the wrong place. It should be after directly, not > after indirectly. > > A quick look at the instruction set shows that direct addressing is > possible. The 10Fs are just small package implementations of the 12 bit > core. Thanks, I just now noticed that all the instructions specify 0 <= f <= 31. Got it. -n. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist