flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Linux > Fasm for Gentoo

Author
Thread Post new topic Reply to topic
Fulgurance



Joined: 27 Nov 2017
Posts: 2
Fasm for Gentoo
Hello, in first thanks for your work and sorry if sometimes i don't speak english very well, i'm french, sorry Sad

I'm Gentoo Linux user, and i have just one question. Can you add an official ebuild for FASM for Gentoo please ?
Post 27 Nov 2017, 11:17
View user's profile Send private message Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 6677
Location: Kraków, Poland
You could try to follow this very old topic. I have no idea if its advice is still viable, though.
Post 27 Nov 2017, 11:55
View user's profile Send private message Visit poster's website Reply with quote
Fulgurance



Joined: 27 Nov 2017
Posts: 2
Okay, i test that, thanks. But you don't want to add officialy your assembly for Gentoo ? Is this too much work?

It's a shame, because honestly for me, fasm is really an excellent assembler.

Otherwise, I have a question for a personal project. Your assembler is created in C or with another assembler?

I have read this article: https://www.swansontec.com/sintel.html

I don't understand one part of this article, what is it mod R/M ?

Are there libraries for write assembly instructions on file, in binary mode, or for facilitate assembly building ?

For example, a library that can write one instruction on binary mode or little block of asm instructions with arguments on fonction ?

I do not know if I am very clear?
Post 27 Nov 2017, 12:21
View user's profile Send private message Reply with quote
ProMiNick



Joined: 24 Mar 2012
Posts: 89
Location: Russian Federation, Sochi
how fasm created? - https://en.wikipedia.org/wiki/FASM

In case of 1 byte instruction opcode itself determine length of instruction and its operands.
In case of multybyte instruction mod R/M is 2nd byte that purpose for determining length of instruction and its operands.

My english bad too... I don`t understand "Are there libraries for write assembly instructions on file, in binary mode, or for facilitate assembly building ?" - What thou mean?

If thou were windows user i could answer this question "For example, a library that can write one instruction on binary mode or little block of asm instructions with arguments on fonction ?" (In IDE it is possible to add assembly of instruction or blocks of instructions just from clipboard or throw selection and custom menuitems). But building that in console and in linux environment - for me it is impossible. Partialy because there(here) is not enough examples for teaching programming in fasm for linux.
Post 27 Nov 2017, 15:24
View user's profile Send private message Send e-mail Reply with quote
Melissa



Joined: 12 Apr 2012
Posts: 28
Although my distro carries it in standard repo, I simply untar in my home dir and symlink to executable.
Post 28 Nov 2017, 01:30
View user's profile Send private message Reply with quote
Furs



Joined: 04 Mar 2016
Posts: 894

Fulgurance wrote:
Okay, i test that, thanks. But you don't want to add officialy your assembly for Gentoo ? Is this too much work?

What's the point? Just download it and execute it? FASM uses no libraries so it only uses the Linux kernel directly.

There's no point in tying it to a distribution.
Post 28 Nov 2017, 13:17
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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.