For eg. LDR R0, =#0x20000001 20000001 is now stored in R0 but where is 0x stored?
The 0x isn't part of the data and doesn't need to be stored. It is a marker to indicate that the data following the 0x is represented in hexadecimal format. An alternative way of showing hexadecimal data is to follow it with h or H, e.g. 12ABh.
A leading 0 (without the x) can be used to indicate that the following data is represented in octal format (less seen nowadays).
Decimal data is shown without any leading characters.