flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > linux32 and linux64: some useful macros.

Author
Thread Post new topic Reply to topic
retro



Joined: 12 Oct 2021
Posts: 47
retro
hi, i made 2 include files for linux, called "linux32" and "linux64". as the name implies, the first one is for 32 bit while the other one is for 64 bit. i made these macros so it's possible to write a lotta code in less time. oh, it's worth mentioning that this is also my first include files written entirely by me, so please, tell me if there's something i can improve or if there's something wrong on them.
also, i rewrote the mov instruction to make it use a bit less space. i was thinking about making these include files also useful for optimizing code, so instead of writing an optimized code, there's already a macro containing the optmized code.
here're the files, along with 2 examples, one for each file:
https://mega.nz/folder/uL4QGDCT#U1SBuTK4jrFKxN425ixWTg
Post 13 Jun 2022, 00:16
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 18844
Location: In your JS exploiting you and your system
revolution
Can you attach your code here please.

That external site needs JS, and it might disappear later.
Post 13 Jun 2022, 06:28
View user's profile Send private message Visit poster's website Reply with quote
ProMiNick



Joined: 24 Mar 2012
Posts: 688
Location: Russian Federation, Sochi
ProMiNick
nice joke.
They (macros) almost not touch linux at all.
All community interpret "macros for linux" as set of macros for building linux *.so files with import & export symbols in it.
I self liked the way thou go. But thou have to do a far more steps to thour target. good luck.
Post 13 Jun 2022, 19:38
View user's profile Send private message Send e-mail Reply with quote
retro



Joined: 12 Oct 2021
Posts: 47
retro
oh.
Post 13 Jun 2022, 20:20
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
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


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.