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 14:42
Read: times


 
#41967 - RE: Is the accumulator bit addressable
Responding to: ???'s previous message
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
;a jmp or something is missing here 
end


Much simpler:
org 30h 
again: 
mov a,50h;as an example data at address 50h
jb acc.0,check
jb acc.2,again
jmp match
check: jnb acc.2.again
nop 
nop 
;a jmp or something is missing here 
end


Erik

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