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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/14/04 10:25
Read: times


 
#62524 - RE: LCD Part 2: 4-bit Mode (Tutorial Err
Responding to: ???'s previous message
Hatem,

Are you sure?

I read following in the tutorial:
WRITE_2_NIBBLES:
 PUSH  ACC           ;Save A for low nibbleORL DATA,#0F0h ;Bits 4..7 <- 1
 ORL   A,#0F0h       ;Don't affect bits 0-3
 ANL   DATA,A        ;High nibble to display
 SETB  EN 


and not

WRITE_2_NIBBLES:

PUSH  ACC           ;Save A for low nibble
ORL DATA,#0F0h      ;Bits 4..7 <- 1
ORL   A,#0F0h       ;Don't affect bits 0-3
ANL   DATA,A        ;High nibble to display
SETB  EN 



as you claim...

or am I too hasty in my remark? (I did not actually "bit" verify the operations, and my assembler is too "rusty" to immediately spot the consequences if the different routines...)

regards
Patrick

List of 21 messages in thread
TopicAuthorDate
LCD Part 2: 4-bit Mode (Tutorial Error)            01/01/70 00:00      
   RE: LCD Part 2: 4-bit Mode (Tutorial Err            01/01/70 00:00      
      RE: LCD Part 2: 4-bit Mode (Tutorial Err            01/01/70 00:00      
         RE: LCD Part 2: 4-bit Mode (Tutorial Err            01/01/70 00:00      
            RE: LCD Part 2: 4-bit Mode (Tutorial Err            01/01/70 00:00      
               RE: LCD Part 2: 4-bit Mode (Tutorial Err            01/01/70 00:00      
                  RE: LCD Part 2: 4-bit Mode (Tutorial Err            01/01/70 00:00      
                     RE: LCD Part 2: 4-bit Mode (Tutorial Err            01/01/70 00:00      
                        RE: MOV NI**LE, #BB            01/01/70 00:00      
      RE: LCD Part 2: 4-bit Mode (Tutorial Err            01/01/70 00:00      
         RE: LCD Part 2: 4-bit Mode (Tutorial Err            01/01/70 00:00      
            RE: LCD Part 2: 4-bit Mode (Tutorial Err            01/01/70 00:00      
            RE: LCD Part 2: 4-bit Mode (Tutorial Err            01/01/70 00:00      
               RE: LCD Part 2: 4-bit Mode (Tutorial Err            01/01/70 00:00      
   RE: LCD Part 2: 4-bit Mode (Tutorial Error)            01/01/70 00:00      
      RE: LCD Part 2: 4-bit Mode (Tutorial Error)            01/01/70 00:00      
         RE: LCD Part 2: 4-bit Mode (Tutorial Error)            01/01/70 00:00      
      RE: LCD Part 2: 4-bit Mode (Tutorial Err            01/01/70 00:00      
         RE: LCD Part 2: 4-bit Mode            01/01/70 00:00      
            RE: LCD Part 2: 4-bit Mode            01/01/70 00:00      
               RE: LCD Part 2: 4-bit Mode            01/01/70 00:00      

Back to Subject List