Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/29/06 06:14
Read: times


 
#123269 - Ahh the luxury!
Responding to: ???'s previous message
Craig, what do you mean 'no way to toggle a bit in a single instruction'? XORLW and have it store it back into the register. At least I think that might work.....

Interrupts - you're lucky to have them - the original PIC did not have interrupts! This was an add-on that came later. Yes, and you have to poll the interrupt sources to figure out who called as well as making sure you've saved the code and register page register. Just think yourself lucky you've got a 8 level stack.....Puts the 8051's stack limitation into perspective.

The code and register banking was also an add-on to the original architecture. The PIC18 started to get a little sensible, the PIC24 is a totally different beast.

My first micro was the National Semiconductor INS8050 SC/MP - much the same age as the PIC and not quite as elegant. This had no stack and no subroutine calls - one would XPPC P2 (exchange pointer with program counter). Count your blessings!

List of 72 messages in thread
TopicAuthorDate
PIC?            01/01/70 00:00      
   Awful instruction set and CPU architecture            01/01/70 00:00      
      yes true kalpak            01/01/70 00:00      
         True            01/01/70 00:00      
            I know this guy who whips out 3 PIC projects a wee            01/01/70 00:00      
            Hi-tech            01/01/70 00:00      
         Thanks            01/01/70 00:00      
            a case study...            01/01/70 00:00      
               words            01/01/70 00:00      
                  oh sorry...            01/01/70 00:00      
   Datasheets are terrible...            01/01/70 00:00      
   I hear you brother!            01/01/70 00:00      
      to PIC or not to PIC            01/01/70 00:00      
      8051-like "instruction set" for PICs            01/01/70 00:00      
   Why PICs? Let me count the ways            01/01/70 00:00      
      Hey Charles!            01/01/70 00:00      
         :)            01/01/70 00:00      
            Ahh the luxury!            01/01/70 00:00      
               True            01/01/70 00:00      
                  Stretching it            01/01/70 00:00      
               Memories            01/01/70 00:00      
      Really?            01/01/70 00:00      
         a true story            01/01/70 00:00      
         No, not really            01/01/70 00:00      
      Hmm            01/01/70 00:00      
         Steve, Why are you attacking me?            01/01/70 00:00      
            Your msg Charles            01/01/70 00:00      
            a joke            01/01/70 00:00      
               Exactly            01/01/70 00:00      
            Yes ?            01/01/70 00:00      
               It was an attack. Not a joke.            01/01/70 00:00      
                  how can a copy be misquote?            01/01/70 00:00      
                  Equally talented            01/01/70 00:00      
            Have you heard of copyright            01/01/70 00:00      
               Your employees can\'t have hobbies?            01/01/70 00:00      
                  You've never heard of ...            01/01/70 00:00      
                     Really?            01/01/70 00:00      
                        nope            01/01/70 00:00      
                           copyright etc.            01/01/70 00:00      
                              10 2) 3) 4) enough?            01/01/70 00:00      
                     Ahhh            01/01/70 00:00      
                  nope            01/01/70 00:00      
            I can\'t blame him.            01/01/70 00:00      
               PICs are low consumption            01/01/70 00:00      
                  ...So are LPC            01/01/70 00:00      
                     how much exactly?            01/01/70 00:00      
                         Not at the moment            01/01/70 00:00      
                        did you check the \"user giude\"?            01/01/70 00:00      
                           that's even more confusing            01/01/70 00:00      
                              this is 'to be found out'            01/01/70 00:00      
                        The real world            01/01/70 00:00      
                           current consumption            01/01/70 00:00      
      PICs outsell the 8051??            01/01/70 00:00      
         Both outsold by 68HC05            01/01/70 00:00      
      a comment and a correction            01/01/70 00:00      
      All these wonders, yet the 805x still outsells it!            01/01/70 00:00      
      Market share            01/01/70 00:00      
      Lots of 8051s now            01/01/70 00:00      
   PICky, PICky, PICky...            01/01/70 00:00      
   Continuing...            01/01/70 00:00      
      35 instruction            01/01/70 00:00      
         Very accurate            01/01/70 00:00      
      ARGH!            01/01/70 00:00      
   sorry, could not help it            01/01/70 00:00      
   How do you confuse an embedded developer?            01/01/70 00:00      
      Nice one            01/01/70 00:00      
   PIC Assembly is tough.            01/01/70 00:00      
   site            01/01/70 00:00      
      start here            01/01/70 00:00      
         and for PIC 'c' programming...            01/01/70 00:00      
            Free C compiler            01/01/70 00:00      
               agreed but....            01/01/70 00:00      

Back to Subject List