Benji000

Adding time

2 posts in this topic

Hello im working on CS/CJ

I basically need tips on how to add time(1 year) to my instruction block which is a "=(300)" block.

my seq is that after the whole sequence is done its going to add one extra year to the hex numbers and its going after the RTC

Share this post


Link to post
Share on other sites

The current year is A353.8 to A353.15. Upon completion of the sequence do a MOVD to take the 2 BCD year digits out of A353 and add 1 to it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now