i making a program logical calculator that do a XOR operation..
the input is in 8 bit.
my problem is converting hex to binary.( im stuck here)
the result from xor will be in hexadecimal, so i need to convert to binary and display the result.
i dont have any idea how to convert it, store and then display it.
convert;
if im using the division, do i need to division every quotient until the remainder 0 and the next remainder 0.
how the coding will be.
store and display it ;
how can i store the remainder and then display it.
sorry if my grammar is not good. hope its understandable.
thanks for reading,
trully thanks if someone can give the coding and appreciate if anyone can just tell me the algorithm.


