??? 08/29/06 04:34 Read: times |
#123264 - :) Responding to: ???'s previous message |
Russell Bull said:
How would you describe the interrupt system on a PIC? Especially in comparison to a 8051? (poor contest actually - the 8051 has one of the more flexible interrupt systems!) No kidding. That's exactly where I was when I decided to post this thread. I was suffering through the instruction set and telling myself, "You're just not used to it, give it a chance." But then I run into a single interrupt vector. I find no way to toggle a bit in a single instruction. And I find that different PICs have different instruction sets entirely. And that I have to switch banks to access all of the PIC "SFRs." You have to admit, the 8051 architecture is quite elegant. You can get an entirely new feature set and the only thing that really changes in any significant way is how many additional SFRs there are. You don't have to figure out what instructions do or don't exist. Oh yes! Quantity != Quality! I see two issues here. 1. Marketing. This explains the use in hobbyist corners. But that's not enough to keep a company afloat. 2. Price? I need to investigate more. Because when we did our search, the 8052 part with an equivlent feature set (and actually scads more on-chip code memory) was cheaper than the PIC equivalent. Are some PICs really a lot cheaper? Oh, and did the later PICs start using instruction words that were actually a power of 2? :) Regards, Craig Steiner |