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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/20/03 13:37
Read: times


 
#41953 - RE: Is the accumulator bit addressable
Responding to: ???'s previous message
The accumlator is bit addressable so you access it in bits like ACC.5 it's 5 in AC
but to campare it with another bit in the same register that's the problem you first have to move the bit you want to compare with into another location
see this data are at address 50h

org 30h
again:nop
mov a,50h;as an example data at address 50h
ANl A,#01H;MASK FOR THE PIT0
MOV 51H,A
mov a,50h
anl a,04h;mask for pit2
rr a
rr a
cjne A,50h,again
nop
nop
end



List of 12 messages in thread
TopicAuthorDate
Is the accumulator bit addressable            01/01/70 00:00      
   RE: Is the accumulator bit addressable            01/01/70 00:00      
   RE: Is the accumulator bit addressable            01/01/70 00:00      
      RE: Is the accumulator bit addressable            01/01/70 00:00      
   RE: Is the accumulator bit addressable            01/01/70 00:00      
      RE: Is the accumulator bit addressable            01/01/70 00:00      
   RE: Is the accumulator bit addressable            01/01/70 00:00      
   RE: Is the accumulator bit addressable            01/01/70 00:00      
      RE: Is the accumulator bit addressable            01/01/70 00:00      
         RE: Is the accumulator bit addressable            01/01/70 00:00      
            RE: Is the accumulator bit addressable            01/01/70 00:00      
               RE: Embedded C Programmers            01/01/70 00:00      

Back to Subject List