hello, i m making one screen in which i m doing increment and decrement and shifting key operation but while doing so, i get '?' when i change the values and if 2 values are present then while changing the values other values shows '?' but if i proceed further i regain the lost values i m using pointer for increment, decrement,shift operation r my values getting lost?
i m using a routine which converts hex to bcd
Where do you get hex data from? You have an input routine taking the characters '0'..'9','A'..'F' ('a'..'f') as input? Or do you have an array of bytes - each containing the values 0..15?
There is nothing haxadecimal about the integers your processor works with - they are just numbers. It isn't until you format them for printing that they may be formatted for base-10, base-16 or whatever you require.