Ambient
New Member
This is probably a dumb question, but I could not find a reasonable explanation after hours of searching. When do I use 0x prefix and when do I use 0000h? I keep seeing both appear in the same program, and all the tutorials I can find do not explain the difference. I know both are hex. I mostly see the 0x prefix for addresses, but have also seen it in variable declarations. Can someone clear up my confusion?