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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/11/06 19:53
Read: times


 
#124092 - attentive
Responding to: ???'s previous message
Cezara Coman said:
i watch in bible, but maybe i wasnt attentive

If you have read the "bible", you need to make that clear in your post!

Here is the description of the JNB instruction from the "bible":

80C51 family programmer’s guide and instruction set said:
The branch destination is computed by adding the signed relative-displacement in the third instruction byte to the PC, after incrementing the PC to the first byte of the next instruction. The bit tested is not modified. No flags are affected.
(my emphasis)

Since the displacement for the jump is specified in a single signed byte, that limits the displacement range to -128..+127

List of 9 messages in thread
TopicAuthorDate
JNB jump only after 256 bytes ?            01/01/70 00:00      
   It\'s called a crutch or a bypass            01/01/70 00:00      
   Look it up!            01/01/70 00:00      
      bypass            01/01/70 00:00      
         Same thing            01/01/70 00:00      
            end            01/01/70 00:00      
         big messes, not necessarily            01/01/70 00:00      
            discipline            01/01/70 00:00      
         attentive            01/01/70 00:00      

Back to Subject List