soapy Member OP S Join Date Dec 2016 Location Warwick Qld Posts 10 Dec 2, 2016 #16 yes i know program was written in CPM2 and have imported it into CP1L
soapy Member OP S Join Date Dec 2016 Location Warwick Qld Posts 10 Dec 2, 2016 #17 Screen Capture CP1L
BobB Lifetime Supporting Member Join Date Jun 2002 Location Sydney Posts 4,557 Dec 3, 2016 #19 Compare I gather you are looking to find Wednesday from the time clock? A354 is where this information is held. Although CX-P does a really good conversion sometimes things need 'adjusting'. Try as per the attached file - have not used equals flags for years - all inline stuff these days.
Compare I gather you are looking to find Wednesday from the time clock? A354 is where this information is held. Although CX-P does a really good conversion sometimes things need 'adjusting'. Try as per the attached file - have not used equals flags for years - all inline stuff these days.
BobB Lifetime Supporting Member Join Date Jun 2002 Location Sydney Posts 4,557 Dec 3, 2016 #21 No need for MOVD - only the bottom half of the word is used for the day number. I do not use MOVD for the clock but use APR as a mask and SWAP to swap the bytes. Use APR as a mask for most things actually and SWAP as required.
No need for MOVD - only the bottom half of the word is used for the day number. I do not use MOVD for the clock but use APR as a mask and SWAP to swap the bytes. Use APR as a mask for most things actually and SWAP as required.
soapy Member OP S Join Date Dec 2016 Location Warwick Qld Posts 10 Dec 3, 2016 #22 thank guys will change program