Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   MOV BYTE PTR DS:[463315],EB not working? (https://forum.exetools.com/showthread.php?t=3187)

Nilrem 01-10-2004 20:44

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.

asterix 01-10-2004 21:21

May be
MOV BYTE PTR DS:[00463315],0EB

Nilrem 01-10-2004 23:04

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?

amigo 01-11-2004 04:56

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

Nilrem 01-11-2004 20:14

Any ideas on my other problem?

MaRKuS-DJM 01-11-2004 21:06

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))

Nilrem 01-11-2004 22:13

Ahh I see cool, thanks, haven't done inline patching in a while you see.

Nilrem 01-13-2004 06:14

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