I am trying to load the math register 0 with a value of 1 million.
I am using the following descriptors for the same.
/* Load 1 Million to Math Register0
*
* 0001.0110.1000.1000.0001.1100.0000.0100
* Data: 0x000F 4240
*
* Loading the Math Register0 with immediate value of 1 million
*/
#define RNG_DESC4 0x16881B04
#define RNG_DESC5 0x000F4240
Can anybody please tell what is wrong with it? I am getting the same error again and again of invalid load command.
Thanks.
According to the following tables in the Security RM -
Table 5-22 (LOAD command format) ;
Table 5-24 (LOAD command DST, LENGTH, and OFFSET field values)
IMM field should be zero (is 1 in Your case), which means “Data to be loaded is found at the
location pointed to by the next word”.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------