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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/06/06 13:58
Read: times


 
#127433 - miaaaaauuuuuuuuuuw
Responding to: ???'s previous message
Morning back at ya (it's darn early in OK)
I like using CJNE for comparisons for two reasons: It does not alter the original value (allowing further use of it) and it makes it clear that you are comparing, not trying to do some arithmetic.

Now, there are cases where I would use sub such as
clr c
subb a,#'0'
jc Not_Numeric

this both start the modification to binary and compares in one sweep.

Agreed there are many ways to skin a cat, but PLEASE make sure it is dead before you try :)

Erik

List of 12 messages in thread
TopicAuthorDate
compare registers            01/01/70 00:00      
   Bible            01/01/70 00:00      
      Andy, please, don't mislead him            01/01/70 00:00      
   this is not my homework !!!            01/01/70 00:00      
      directives are to control the behaviour...            01/01/70 00:00      
   8051 Instructions            01/01/70 00:00      
      nobody mentioned CJNE            01/01/70 00:00      
         Skinnin' cats            01/01/70 00:00      
            miaaaaauuuuuuuuuuw            01/01/70 00:00      
            does 0730 mean \"late late night\" ? :-)            01/01/70 00:00      
               Probably            01/01/70 00:00      
                  a better assembler will handle that            01/01/70 00:00      

Back to Subject List