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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/10/05 00:51
Read: times


 
#89376 - Hmmm.... interesting indeed!
Responding to: ???'s previous message
I would have quessed 7 based on how I think the processor works. The PUSH instruction is in the form of PUSH direct address. I'm guessing the PLA first reads the contents of the direct address into a temp register. Then inc's SP. Then the contents of SP are used in an indirect memory access to write onto the stack.
I'm a little bit surprized that the V51RD2 gives a different answer, but not too surprized since it comes from a different core. I'd be real interested to see what it does with an LPC900 part. I'll read below to see if someone did it.

Incidentally Jan, all of the Philips parts with IAP have a function call to allow you to read the device ids. You can use them to determine which part you have.

Bill

List of 31 messages in thread
TopicAuthorDate
PUSH SP            01/01/70 00:00      
   8            01/01/70 00:00      
      8???????????????????????????????????            01/01/70 00:00      
         On jokes, reasons &al.            01/01/70 00:00      
            no, you don't            01/01/70 00:00      
   I do not know and do not think I should            01/01/70 00:00      
      Non-compliance?            01/01/70 00:00      
   Theory vs. practice            01/01/70 00:00      
      Jan is right: 7            01/01/70 00:00      
         I did not say 7!            01/01/70 00:00      
            Interesting            01/01/70 00:00      
               POP SP? :-)            01/01/70 00:00      
                  POP SP            01/01/70 00:00      
                     MOV SP,#SP            01/01/70 00:00      
                        exceptions and rules            01/01/70 00:00      
                           MOV A,ACC            01/01/70 00:00      
                              xxx a,acc            01/01/70 00:00      
                              if the "Bible says"...            01/01/70 00:00      
                     more interesting            01/01/70 00:00      
               Hmmm.... interesting indeed!            01/01/70 00:00      
         native doing            01/01/70 00:00      
         Makes sense to me            01/01/70 00:00      
            POP SP            01/01/70 00:00      
               Output of SP            01/01/70 00:00      
                  Simulators            01/01/70 00:00      
                     simulators give me 7 7            01/01/70 00:00      
                        7 7            01/01/70 00:00      
                        spent for which purpose            01/01/70 00:00      
                           Fun...            01/01/70 00:00      
                              Atmel and Philips            01/01/70 00:00      
                        SiLabs F120            01/01/70 00:00      

Back to Subject List