ESERCITAZIONE # 12b
 
Impiego della memoria
Il driver è stato strutturato per impiegare un limitato numero di locazioni di RAM. 
Nella versione minima, determinata da  LCDSHORTDRIVE = 1 
è utilizzata  una sola locazione di RAM. 
Nella versione completa ne servono altre tre. 
  
    
      ;######################################################################## 
; RAM definitions 
===================================== 
; 
; first 128 bytes 
; ----------------- 
 CBLOCK 0x00                  
; bank 0 
; LCD driver - REQUIRED MEMORY: 2 bytes 
; ===================================== 
          LCDbuf              
; LCD command buffer 
                              
; used in LCDWrCmd nd, BusyTime nd 
 
 
 #if LCDSHORTDRIVE == 0       
; need more RAM  
          LCDtemp             
; temporary register 
                              
; used in Hex1_LCD nd, Bin1_LCD nd, 
          LCDtemp1            
; temporary register 
                              
; used in Hex1_LCD nd, Bin1_LCD nd, 
                   d5mstemp            
; used in Delay5ms d  
 #endif | 
     
   
 
  
   
 |