I am learning about windows x64 calling convention, where the first four arguments are passed to registers and left arguments are passed through the stack. To see it, I checked the assembly of the test file that I made. I understood the passing of first four arguments through the register, the left arguments were passed through the stack but I didn't understood the assembly of the instruction. It looked like this:
mov DWORD PTR 40[rsp], 6
mov DWORD PTR 32[rsp], 5
I don't know what does 40[rsp] means, maybe rsp+40 . If anyone knows, please explain to me