Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Incrementing time represented as NBCD format
#5
Very interesting, I'm still trying to understand exactly how it works, but I think I'm getting there.

I managed to spot a couple of reductions:

Code:
function inc_nbcd_timestamp ( byval t as integer ) as integer

  dim as integer t1
  
    t1 = t + &HA6A7
      
    function =  t1 - (((((t EQV t1) AND &H11110) shr 4) * &HF) AND &HA6A6)
    
end function
EVEN MEN OF STEEL RUST.
[Image: chav.gif]
Reply


Messages In This Thread
Incrementing time represented as NBCD format - by yetifoot - 12-06-2006, 08:34 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)