Search found 1 match

by TsXor-V
Tue Nov 08, 2022 5:04 pm
Forum: General Discussion
Topic: curious about why an almost equivalent C code can avoid LoadProhibited error
Replies: 2
Views: 1740

curious about why an almost equivalent C code can avoid LoadProhibited error

```c STATIC mp_int_t getuwidth(mp_int_t cord) { mp_int_t uw = 0; switch (chrtype(cord)) { case 0: uw = 1; break; case 1: uw = 1; break; case 2: uw = 2; break; case 3: uw = 2; break; case 4: uw = 2; break; } return uw; } ``` After being executed for 20+ time, it will cause LoadProhibited error. ```c ...