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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/19/05 11:12
Read: times


 
#93596 - Is it like this?
Responding to: ???'s previous message
I would write the code like this:

mov a, dpl
cjne a,sizelow ,keepreading ;
mov a, dph ; check high byte
cjne a,sizehigh ,keepreading ; jump if not last
sjmp stop_program

keepreading: ; carry on with the other stuff

I do not see a reason why it should not work. I have removed the usage of register B. It is not necessary.

Juergen

List of 9 messages in thread
TopicAuthorDate
compare two bytes            01/01/70 00:00      
   equ operator            01/01/70 00:00      
      re: equ operator            01/01/70 00:00      
         value v pointer            01/01/70 00:00      
   comparing two bytes            01/01/70 00:00      
      Is it like this?            01/01/70 00:00      
         bible time            01/01/70 00:00      
   A bit more            01/01/70 00:00      
      to Mehdi            01/01/70 00:00      

Back to Subject List