Dear Stefano,
The value "0x64" cannot be written in 1 byte of key memory.
You can implement it in following ways-
- Create a 4 bytes block in memory to write "0x64". Then read this memory block and convert it to decimal 100.
- Create a 2 byte block in memory to write "64". Read this block and append "0x" at code level if required. Then convert it to decimal 100.
- Create a 3 bytes block in memory to write "100". Read this block and use the value as it is or convert to hexadecimal "64" or "0x64" if required.
Thanks,
Ashish