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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/14/09 00:31
Modified:
  02/14/09 00:32

Read: times


 
#162386 - CJNE?
Responding to: ???'s previous message
One of the instructions is

CJNE A, direct, rel

If one value is in A, and the other in a register, which is directly addressable, e.g. B, then that instruction will do it.

If you have to, you may move data around to make this possible, for example, put one value in A and the other in B, then use CJNE A, B, <relative destination>.

The "bible" (I don't know why there isn't a readily accessible link to it at the left of this page) will tell you how this instruction works. You may find its effect on the carry bit of interest.

RE


List of 10 messages in thread
TopicAuthorDate
mathimatical question using 8052            01/01/70 00:00      
   CJNE?            01/01/70 00:00      
      problem in "" < "" and "" > ""            01/01/70 00:00      
         Reading is fundamental            01/01/70 00:00      
            *Careful* and *Thorough* reading is key            01/01/70 00:00      
      "bible" link(s)            01/01/70 00:00      
   Combine CJNE with JC/JNC instruction...            01/01/70 00:00      
      Thanks Kai the PDF was so helpfull            01/01/70 00:00      
         You can use..            01/01/70 00:00      
   maybe use a compiler            01/01/70 00:00      

Back to Subject List