MOV BYTE PTR DS:[463315],EB not working?
N/t.
As far as I know that is the correct ASM syntax, so when in Olly, I right click and choose Assemble and type in that (unticking NOP) and click ok but it comes up as unknown identifier? I'm probably making a silly mistake, but as far as I know that is how you write ASM in Olly. |
May be
MOV BYTE PTR DS:[00463315],0EB |
That's worked but why the 0 infront of EB? I mean I can do 74 and 75 no problem so why do you put a 0 infront of EB, and will it still result in a straight jump been put into the address, or does the 0 infront of EB do something totally different.
I tried (with the same method) doing JMP exenamehere.addresshere but all it said was "Label expected", now I've had no problems doing this in Softice in the past, so what's happening? |
I didn't assemble in OllyDbg, but in most known assemblers (MASM, A86, IDA) when hex number starts with a letter you always must put '0' before the letter to mark that the number follows, not the mnemonix
|
Any ideas on my other problem?
|
you use JMP exenamehere.addresshere
but you only have to use JMP addresshere olly translates it with <exename> in front of address (if your address is for example BB8877 and olly says "no memory at the specified address you have to insert 00BB8877 (8 Bit)) |
Ahh I see cool, thanks, haven't done inline patching in a while you see.
|
Ops no wonder I haven't had a reply in a while I forgot to post the following:
I just get a "Label expected" message now. |
All times are GMT +8. The time now is 15:04. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX