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

Back to Subject List

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


 
#102601 - Please find my answer below each quest
Responding to: ???'s previous message
So, the questions :
1. In the above example, assuming R2 was equal to 37, it would
simply go to the next line?

Yes.

2. Again, above example, if R2 was = to 20, it would jump to label, and in sub "label" I could use a JC LABEL2 to jump to label2, since the carry bit was set?

If u really want to do that why not use LABEL2( instead of LABEL) directly in cjne instruction.

you said,
"Recently it was pointed out to me that CJNE can be used to compare to values, and sets the C bit if the first is less than the second."

If so you can use JC instruction to jump on to a different location.


3. Can the label be "left off" as to just compare the two values? (IE: could I just CJNE R2, #37 and on the next line use a JC to jump if the carry bit was set?)
NO. i dont think its a correct instruction format.




List of 25 messages in thread
TopicAuthorDate
CJNE clarrification            01/01/70 00:00      
   Please find my answer below each quest            01/01/70 00:00      
   cjne            01/01/70 00:00      
      continued..            01/01/70 00:00      
         external memory            01/01/70 00:00      
            Absolutely!            01/01/70 00:00      
         cheat....            01/01/70 00:00      
            Hint            01/01/70 00:00      
               you young whippersnappers            01/01/70 00:00      
                  Young Whippersnappers tools            01/01/70 00:00      
               size & information            01/01/70 00:00      
         CJNE macros            01/01/70 00:00      
            More CJNE            01/01/70 00:00      
               PRE tags            01/01/70 00:00      
   Whatever made you think that??            01/01/70 00:00      
      used to other language            01/01/70 00:00      
         CJD            01/01/70 00:00      
            welllll...            01/01/70 00:00      
               most admirable, but            01/01/70 00:00      
         Don't guess!            01/01/70 00:00      
            which many that could not be bothered to            01/01/70 00:00      
      Value testing            01/01/70 00:00      
         Confusing for bigineer            01/01/70 00:00      
            Just apply it            01/01/70 00:00      
   what more then "the bibl" do you need            01/01/70 00:00      

Back to Subject List