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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/13/11 13:51
Read: times


 
#182635 - missed CJNE
Responding to: ???'s previous message
1. SP=7, I knew this
2. ACC=0, I didn't know this
3. Registers have no default, I assumed this (is that a bad assumption?)
4. CJNE also changes the carry, it is often used by SDCC
5. DJNZ ACC,somewhere, yup
6. Division by zero, I did not 'know' this
7. Byte overflow, I didn't 'know' this either
8. I don't know or care about BCD
9. -128/+127 from the next instruction, I knew this
10. AJMP/ACALL is only relevant on 2kB limited devices IMHO, otherwise they just use up expensive instructions
11. Memory access overwrite P0, I definitely did not know this
12. Are ALE pulses only skipped for MOVX or also for long instructions?

Maarten

List of 17 messages in thread
TopicAuthorDate
8051 core quiz            01/01/70 00:00      
   quizes are out of fashion these days...            01/01/70 00:00      
      I did it....            01/01/70 00:00      
         thanks            01/01/70 00:00      
      missed CJNE            01/01/70 00:00      
         indeed            01/01/70 00:00      
            I guess a quite frequent oversight            01/01/70 00:00      
            RE: optimize LJMPs to AJMPs, etc            01/01/70 00:00      
      Maybe?            01/01/70 00:00      
         caught again!            01/01/70 00:00      
            Most common 8051 assembly mistake?            01/01/70 00:00      
               Not just 8051?            01/01/70 00:00      
                  Different assemblers have different probabilities            01/01/70 00:00      
                     Conceptual & Typographical errors            01/01/70 00:00      
                        some assemblers do            01/01/70 00:00      
                        Readability helps            01/01/70 00:00      
                     99's            01/01/70 00:00      

Back to Subject List