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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/09/04 02:53
Read: times


 
#72124 - RE: Ignore above, corrected version here
Responding to: ???'s previous message
Clear EA? in code? I thought EA is accessed by hardware only.
Wrong!!!
EA -- Enable All Interrupts.
This bit is MSB D7 in IE [ Interrupt Enable register ].

When you clear this bit all the interrupts are disabled regardless of their individual bit status in IE. Erik is PUSHing this register on stack to save its content then he is disabling the interrupts by clearing EA then lcd operatrion is performed and when that is done IE is POPed back so as to restore the IE. and thus turning on the interrupts.
push IE
clr EA
setb ... enable LCD write
clr ... disable LCD write
pop IE




List of 39 messages in thread
TopicAuthorDate
Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
   RE: Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
      Ignore above, corrected version here            01/01/70 00:00      
         RE: Ignore above, corrected version here            01/01/70 00:00      
            RE: Ignore above, corrected version here            01/01/70 00:00      
               RE: Ignore above, corrected version here            01/01/70 00:00      
               RE: Ignore above, corrected version here            01/01/70 00:00      
                  RE: Ignore above, corrected version here            01/01/70 00:00      
         RE: Ignore above, corrected version here            01/01/70 00:00      
            RE: Ignore above, corrected version here            01/01/70 00:00      
               the reason for push/pop            01/01/70 00:00      
   RE: Using P0 for LCD along with 64K Ext.            01/01/70 00:00      
      RE: Using P0 for LCD along with 64K Ext.            01/01/70 00:00      
   RE: Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
      RE: Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
      RE: Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
         RE: Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
   RE: Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
      RE: Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
         RE: Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
            RE: Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
            RE: Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
               RE: Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
                  RE: Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
                     RE: Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
                     RE: Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
   RE: Using P0 for LCD along with 64K Ext. RAM            01/01/70 00:00      
   Version 2            01/01/70 00:00      
      RE: Version 2            01/01/70 00:00      
      RE: Version 2            01/01/70 00:00      
         RE: Version 2            01/01/70 00:00      
            RE: Version 2 - Supervisory chip            01/01/70 00:00      
               RE: Version 2 - Supervisory chip            01/01/70 00:00      
      RE: Version 2            01/01/70 00:00      
      Memory maped LCD?            01/01/70 00:00      
         RE: Memory maped LCD?            01/01/70 00:00      
            RE: Memory maped LCD?            01/01/70 00:00      
               RE: Memory maped LCD?            01/01/70 00:00      
                  RE: Memory maped LCD? another way            01/01/70 00:00      

Back to Subject List