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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/04/06 03:29
Read: times


 
#115519 - This or that
Responding to: ???'s previous message
Zeeshan said:
My question is, how do i compare magnitude of input date in BCD with teh actual date maintained by RTC, also in BCD. Since testing with CJNE and Carry flag for Less than / greater than will only work for binary numbers, not BCD.

You are not forced to use this "CJNE" instruction. Transform the numbers into binary by a subroutine or fabricate your own "CJNE" instruction, building the difference of both BCD numbers and reacting on accumulator flags.

Kai

List of 7 messages in thread
TopicAuthorDate
BCD magnitude comparisons !            01/01/70 00:00      
   This or that            01/01/70 00:00      
      No conversion necessary!            01/01/70 00:00      
         Something like this            01/01/70 00:00      
            RE: Something like this            01/01/70 00:00      
         Because            01/01/70 00:00      
   Julian date?            01/01/70 00:00      

Back to Subject List