#1
|
|||
|
|||
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. |
#2
|
|||
|
|||
May be
MOV BYTE PTR DS:[00463315],0EB |
#3
|
|||
|
|||
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? Last edited by Nilrem; 01-10-2004 at 23:21. |
#4
|
|||
|
|||
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
|
#5
|
|||
|
|||
Any ideas on my other problem?
|
#6
|
||||
|
||||
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)) |
#7
|
|||
|
|||
Ahh I see cool, thanks, haven't done inline patching in a while you see.
|
#8
|
|||
|
|||
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. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inline Empty Byte Finder | chessgod101 | Community Tools | 9 | 07-16-2018 00:15 |
Tool to scan files for common byte sequences | dila | General Discussion | 15 | 02-18-2018 19:11 |
pic 16f84 and skip security byte? | hrco | General Discussion | 11 | 05-25-2004 15:40 |