Home > other >  How will the following assembly code to Java or python
How will the following assembly code to Java or python

Time:09-19

Xor ecx, ecx
Mov eax, [ebp + 0 by 8]
Mov ecx, [ebp + 0 xc]
Ror eax, cl
Mov [ebp - 0 x4], eax

CodePudding user response:

Under the guidance of 50 points, a great god for help

CodePudding user response:

The first parameter is the function cycle moves to the right of the second parameter specifies the digits, and the results in a local variable

CodePudding user response:

refer to the second floor early play big play nuclear response:
is the first parameter to the function cycle moves to the right of the second parameter specifies the digits, and the results in a local variable

Can specific to python code to stick out?
Note: the incoming parameter is a decimal integer, number of displacement is 24

CodePudding user response:

Python does not, c code is roughly

Int func (int n, unsigned char b)
{
Int x=n<(32 - b %) | | (unsigned int) n & gt;> 32 (b %);
//...
}
  • Related