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 


Assembly Using In CE vs NASM

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Fri Apr 24, 2020 12:04 am    Post subject: Assembly Using In CE vs NASM Reply with quote

Maybe this is a stupid question, but I want to know what is CE basic AA programming root type, is it Delphi Assembly?. What is the difference to NASM?. Any references?

Example NASM syntax to print 'Hello World':

Code:
segment .text
   global_start

_start:
   mov edx,len
   mov ecx,msg
   mov ebx,1
   mov eax,4
   int 0x80

   mov eax,1
   int 0x80

segment .data
msg   db 'Hello, world!',0xa
len   equ   $ - msg

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Fri Apr 24, 2020 12:40 am    Post subject: Reply with quote

ce asm is based on the intel assembler syntax
for the rest it uses it's own coding.
The default value type is in hexadecimal (except alloc)

no segments, no sections

built using a single line assembler. Every single line goes to the single line assembler

_________________
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
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Fri Apr 24, 2020 12:45 am    Post subject: Reply with quote

there is no delphi assembly, and you cant compare an "assembler" with ce's aa.

as for the syntax CE use masm to denote certain things like segment override and memory location, and of course there are many similarities in CE's AA with masm and nasm.

but all of them sucks tbh. (including tasm)

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Fri Apr 24, 2020 5:52 am    Post subject: Reply with quote

It's clear definition DB and OldCheatEngineUser, so the conclusion I can say CE Asm is base on Intel Assembly x86/x64 language but with custom coding.

Then that is the answer I can't comparing CE Asm with others Assembly programming language such as NASM, MSVC, VMware etc.

CE Asm also has different directives.

I need read again:
https://wiki.cheatengine.org/index.php?title=Cheat_Engine:Auto_Assembler
https://www.felixcloutier.com/x86/

Thanks again

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Fri Apr 24, 2020 8:37 am    Post subject: Reply with quote

Corroder wrote:
so the conclusion I can say CE Asm is base on Intel Assembly x86/x64 language


note that almost 99% of the times people refer to intel syntax by the reading direction, and not how to denote certain things.

intel made only 1 assembler, and their syntax is ugly too similar to tasm.

again nobody care about intel's assembler syntax, but we care about the reading direction that is what it meant by intel syntax.

also keep in-mind, their syntax (all mentioned assemblers) is not flexible and each is different.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
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