I am using the Patch Program option of IDA Pro to edit the assembly of a binary at runtime.
When I enter the following instruction:
mov rax, [rsp + 0x48]
I get an "Invalid operand" error from IDA Pro. I tried changing the above instruction to different variants as shown below:
mov rax, [rsp + 48h] mov rax, [rsp + 48]
However, it still gives me an error.
This is a valid assembly instruction. I can edit the assembly in other softwares like x64_dbg and it works with the above disassembly.