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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/12/03 12:09
Read: times


 
#52476 - RE: update pins on a port on the byte level
Responding to: ???'s previous message
hi spancer,

take benefit of following equation


a XOR b = a.b'+a'.b

if you put b = 1 (true into it) it becomes


a xor 1 = a'

and putting b = 0 gives

a XOR 0 = a

picture is clear just prepare a byte having '1's at the places which you want to invert and remainig bits zero into the accumulator. and a simple

XRL Px,a

will do the job.


abhishek

List of 11 messages in thread
TopicAuthorDate
update pins on a port on the byte level            01/01/70 00:00      
   RE: update pins on a port on the byte level            01/01/70 00:00      
   RE: update pins on a port on the byte level            01/01/70 00:00      
      RE: update pins on a port on the byte level            01/01/70 00:00      
      RE: update pins on a port on the byte level            01/01/70 00:00      
         RE: update pins on a port on the byte level            01/01/70 00:00      
            RE: update pins on a port on the byte level            01/01/70 00:00      
               RE: update pins on a port on the byte level            01/01/70 00:00      
   RE: update pins on a port on the byte level            01/01/70 00:00      
   RE: update pins on a port on the byte level            01/01/70 00:00      
   RE: update pins on a port on the byte level            01/01/70 00:00      

Back to Subject List