Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Basic assembler
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials
View previous topic :: View next topic  
Author Message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Fri Oct 27, 2006 5:21 am    Post subject: Reply with quote

just some extra info that is useful if you read it all: http://www.logix.cz/michal/doc/i386/
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Tue Dec 12, 2006 2:58 am    Post subject: Reply with quote

and here is another helpful link:
http://www.intel.com/products/processor/manuals/index.htm

I recommend reading EVERY pdf file. (You can also get those pdf file in book form for free if you email them, I did)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
me
Grandmaster Cheater
Reputation: 2

Joined: 24 Jun 2004
Posts: 733
Location: location location

PostPosted: Wed Dec 13, 2006 6:08 pm    Post subject: Reply with quote

the pdf versions are ok to read if you use foxit reader instead of adobe acrobat,

nice and quick with no slow splash screen and no bloatware,

1.5 meg download so nice and small,
just mentioning this to make the pdf download more palatable

Arrow http://www.foxitsoftware.com/pdf/rd_intro.php

****************




















~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Twisted Evil

_________________


Last edited by me on Wed May 30, 2007 10:51 am; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Wed Feb 28, 2007 4:13 am    Post subject: Reply with quote

bump while i'm going to clean up this forum
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
ispoonedi
Master Cheater
Reputation: 0

Joined: 11 Nov 2006
Posts: 288
Location: Banging your Wife/GirlFriend

PostPosted: Wed Feb 28, 2007 8:37 am    Post subject: Reply with quote

Ah thx DB, wuz looking where to learn ASM after done with Basic
_________________
Back to top
View user's profile Send private message
XiaoPrisBoi
Grandmaster Cheater
Reputation: 0

Joined: 13 Feb 2007
Posts: 508

PostPosted: Tue Mar 13, 2007 8:03 pm    Post subject: Reply with quote

That's some good suff there, thx..
Back to top
View user's profile Send private message
-DEViL-
Expert Cheater
Reputation: 3

Joined: 21 Apr 2007
Posts: 185

PostPosted: Sun Apr 22, 2007 3:20 am    Post subject: Reply with quote

Thank You Very Much Dark Byte
i have a one broblem
i want to write script to change the value to 0 and freeze it?!!
can you help me about this?
Back to top
View user's profile Send private message
--Pillboi--
Grandmaster Cheater Supreme
Reputation: 0

Joined: 06 Mar 2007
Posts: 1383
Location: I don't understand the question. Is this a 1 to 10 thing?

PostPosted: Wed May 30, 2007 3:56 am    Post subject: Reply with quote

xxx_xxx wrote:
Thank You Very Much Dark Byte
i have a one broblem
i want to write script to change the value to 0 and freeze it?!!
can you help me about this?

Mov 0 into it's eax. Then mov the eax into the value of the address (in brackets). Then push it, and later pop it. Am I right?

_________________

Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair.
Back to top
View user's profile Send private message
--Pillboi--
Grandmaster Cheater Supreme
Reputation: 0

Joined: 06 Mar 2007
Posts: 1383
Location: I don't understand the question. Is this a 1 to 10 thing?

PostPosted: Wed May 30, 2007 8:09 am    Post subject: Reply with quote

high6 wrote:
Code:

loop:
mov value,0
invoke Sleep,10
jmp loop

That way will mean that you can't do anything else in the script, and also allocate memory. Do it like this:
Code:
[Enable]
push address
address:
mov eax, 0
mov [address], eax
[disable]
address:
mov eax, 1 //or whatever origonal eax was.

_________________

Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair.
Back to top
View user's profile Send private message
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Wed May 30, 2007 9:10 am    Post subject: Reply with quote

Quote:

Thank You Very Much Dark Byte
i have a one broblem
i want to write script to change the value to 0 and freeze it?!!
can you help me about this?


Everyone keeps going about it in such strange ways...

Code:

[enable]
alloc(name,(insert ammount of memory needed here))
registersymbol(name)

name:
mov eax, 0

address:
mov [the brackets mean "the value of" so put the address whose value you want to be zero], eax

[disable]
dealloc(name)
unregistersymbol(name)

address:
(put original opcode here, or it will DC you)


That's how I would do it. Forgive me if there's an error, I'm still in the proccess of learning.

And thanks a ton DB! This is definately going to help!

Edit:

Quote:

Code:

loop:
mov value,0
invoke Sleep,10
jmp loop



Umm... Since when is there an "invoke", and a "sleep" command? x____x
Back to top
View user's profile Send private message
--Pillboi--
Grandmaster Cheater Supreme
Reputation: 0

Joined: 06 Mar 2007
Posts: 1383
Location: I don't understand the question. Is this a 1 to 10 thing?

PostPosted: Thu May 31, 2007 4:11 am    Post subject: Reply with quote

high6 wrote:
Well he wants to freeze the value.. He can just use createthread.
What are you talking about? Shocked
_________________

Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair.
Back to top
View user's profile Send private message
Nigtronix
Cheater
Reputation: 0

Joined: 18 May 2007
Posts: 45

PostPosted: Thu May 31, 2007 11:37 pm    Post subject: Reply with quote

One question, in such notations such as MOV [EAX+16], EBX

EAX = 0x40543232 this is the base address correct? Since, using a register and intermediate constant is a relative address per se?

now the +16 is the size of the data stored starting at the base address in a sense? Since the most elemental memory unit on the x86 is one byte this would mean 16 addresses or 16 bytes?

Also, what is mean't by a static pointer? would it basically be like:

Code:

char *omg = "I'm a static pointer";

// Now a DMA

int *lolz = (int *) malloc(sizeof(int) * 8);
// lolz would be the base address? how would that look in asm
Back to top
View user's profile Send private message
--Pillboi--
Grandmaster Cheater Supreme
Reputation: 0

Joined: 06 Mar 2007
Posts: 1383
Location: I don't understand the question. Is this a 1 to 10 thing?

PostPosted: Fri Jun 01, 2007 6:25 am    Post subject: Reply with quote

high6 wrote:
Code:
.Data?
ThreadID   dd ?
.Code
invoke CreateThread, NULL, 0, addr Thread, 0, 0, addr ThreadID


Thread proc
loop:
mov value,0
invoke Sleep,10
jmp loop
Thread endp

I don't know much. But I do know that you can't invoke in auto-assembly. Can you? Shocked
Code:
mov value,0

Wouldn't it have to be:
Code:
mov [address], 0

_________________

Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair.
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Sun Nov 11, 2007 5:12 pm    Post subject: Reply with quote

Dark Byte You just made em wuzzy...
Talk about easy...
Back to top
View user's profile Send private message
ta_trainer
Advanced Cheater
Reputation: 0

Joined: 24 Dec 2006
Posts: 76

PostPosted: Tue Nov 20, 2007 3:57 am    Post subject: Reply with quote

Thank You guys

I know most of the stuff here
but what does the "test" code do?
I always encounter test x,y then a jump

Edit:
it is an AND operation
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials All times are GMT - 6 Hours
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites