SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Tutorials

Reply
 
Thread Tools Display Modes
Old 18/07/2017, 01:43 PM   #21
Dutheil
Godfather
 
Dutheil's Avatar
 
Join Date: Jul 2014
Location: France
Posts: 5,138
Reputation: 221
Default Re: AMX Assembly (#emit)

You didn't finish your sentence here :
Quote:
Originally Posted by Yashas View Post
Data Segment Register (DAT) : This gives base address (actually offset relative to the start of the program) to the start of the data segment from the ? ? ?.
__________________
#PrayForFrenchForum
GitHub

pawn Code:
print({1466458484, 543452960, 2037347616, 1952999790, 1797286260, 544694643, 543649646, 1851859053, 1634428192, 1056964608});
Dutheil is offline   Reply With Quote
Old 30/07/2017, 06:00 AM   #22
KushalD
Little Clucker
 
KushalD's Avatar
 
Join Date: Jul 2017
Location: India
Posts: 14
Reputation: 0
Default Re: AMX Assembly (#emit)

Thank You very much. Its very nice tutorial.
KushalD is offline   Reply With Quote
Old 01/10/2017, 09:39 AM   #23
Yashas
Gangsta
 
Join Date: Jun 2012
Location: India
Posts: 868
Reputation: 295
Default Re: AMX Assembly (#emit)

Quote:
Originally Posted by Dutheil View Post
You didn't finish your sentence here :
Oops! Not sure why I had left it in the first place.

Update:
  • Fixed typos
  • Fixed issues with the instruction table and also added several new instructions to the table
  • Added explanation for how switch-case works internally
  • Added more information to the "AMX File & Memory Structure" section
  • Reorganization of paragraphs and other minor changes
Yashas is online now   Reply With Quote
Old 01/10/2017, 10:26 AM   #24
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 15,128
Reputation: 3170
Default Re: AMX Assembly (#emit)

Quote:
Originally Posted by Yashas View Post
the AMX machine can search the case table using binary search
"can", but doesn't. I've previously had the idea to use amx_assembly to actually modify the VM from pawn itself and add this in.
Y_Less is online now   Reply With Quote
Old 03/06/2018, 11:31 AM   #25
Yashas
Gangsta
 
Join Date: Jun 2012
Location: India
Posts: 868
Reputation: 295
Default Re: AMX Assembly (#emit)

Moved to GitHub: https://github.com/YashasSamaga/AMX-Assembly-Docs
  • written from scratch
  • clearer explanation
  • significantly fewer typos and errors
  • avoids mentioning details which are obvious
  • open-source; people can contribute
  • updated instruction table and information (implementer guide is wrong about some things which the document addresses)

Last edited by Yashas; 03/06/2018 at 12:33 PM.
Yashas is online now   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assembly Code CoaPsyFactor Scripting Help 2 18/08/2014 05:37 PM
Emit Assembly saamp Scripting Help 1 05/10/2013 09:04 PM
View compiler assembly output ReneG Scripting Help 2 08/05/2013 07:06 PM
Is this correct? (Assembly) The King's Bastard Scripting Help 0 31/01/2012 09:06 PM


All times are GMT. The time now is 10:30 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.