Author: monica1
Subject: Reply to: Incorrect output when trying to add numbers
Posted: Mon Jan 16, 2017 9:17 am (GMT 5.5)
I tried with this instruction
OI OUTNUM+1,X'F0'
instead of
OI UNPACK+1,X'F0'
and I was able to execute the program.
From this I understand that an OI instruction should be performed on the UNPK-ed tagname inorder to make the last digit as printable.
Thanks everyone for your help.
Subject: Reply to: Incorrect output when trying to add numbers
Posted: Mon Jan 16, 2017 9:17 am (GMT 5.5)
I tried with this instruction
OI OUTNUM+1,X'F0'
instead of
OI UNPACK+1,X'F0'
and I was able to execute the program.
From this I understand that an OI instruction should be performed on the UNPK-ed tagname inorder to make the last digit as printable.
Thanks everyone for your help.