I have a issue trying to use scanf to get a big hexadecimal num (12 chars) from the user.
it seems to only get the last 8 chars, eg - ABFFFFFFFF will become 0000FFFFFFFF
You must use "%llx" for both scanf format and printf. See the manual page for additional details.