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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/13/08 11:49
Read: times


 
#158238 - Err
Responding to: ???'s previous message
Vijay Singh said:
plz explain me this code
mov a,mins ;minutes
anl a,#0f0h
swap a


What's there to explain ? It puts something in the accumulator, ands it with a constant and then moves the high nibble to the low and vice versa.

Steve

List of 7 messages in thread
TopicAuthorDate
8051 led display            01/01/70 00:00      
   Err            01/01/70 00:00      
      Extracting high nibble            01/01/70 00:00      
   HELP ME            01/01/70 00:00      
      Did you read my post?            01/01/70 00:00      
      without kwledge of the hardware            01/01/70 00:00      
      indentation            01/01/70 00:00      

Back to Subject List