Home > Back-end >  About displacement calculation, the following passage is what meaning, thank you teach
About displacement calculation, the following passage is what meaning, thank you teach

Time:03-24

CodePudding user response:

Number of bits, the number of more than o

For example, & lt; <32 because move is 0 32%=0;
> 36 36% 32 equals=4;
The same below 40

CodePudding user response:

Log2 (32) a value of 5
this sentence mean, for the right operand of the shift operator, work is the lower part of the five binary,
Is the 32, 36, 40, and all these things first cut her sixth and to the left of the content again, also is the first & amp; 0 x1f
That is equivalent to the first % 32

Also said that, in the picture is not stipulated the C language specification, so for C program, can't rely on the "law",
  • Related