How to use Flat assembler?

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
fixit

How to use Flat assembler?

#1 Post by fixit »

Anyone have experience with Flat Assembler ?

I installed the program, but none of the examples work.

For example hello is one example and it is executable.

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#2 Post by Keef »

I just happened to be using an old 214R variant, and downloaded FASM to see what happened.
The precompiled 'hello' runs fine from a terminal. Compiled the source file 'hello.asm', and that works too (altered the "Hello world!" text to make sure ).
Are you running them from a terminal or just clicking on the binary?
I've just exhausted all my knowledge of assembler though.

fixit

#3 Post by fixit »

I tried running it both ways.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#4 Post by technosaurus »

do you take your car to a mechanic and just say "its broken"?

you must have gotten errors. wtf
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
puppy_apprentice
Posts: 299
Joined: Tue 07 Feb 2012, 20:32

#5 Post by puppy_apprentice »

If You want to learn asm You can try nasm:

http://www.tutorialspoint.com/assembly_ ... /index.htm

To compile those examples from this tutorial you will have to have only nasm and binutils (packages are on Puppy forum or you can download them from http://pkgs.org/).

fixit

#6 Post by fixit »

technosaurus wrote:do you take your car to a mechanic and just say "its broken"?

you must have gotten errors. wtf
Let's keep the language clean.

Andy

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#7 Post by technosaurus »

Yeah, sorry for the abbreviation, I meant to say: "What the Fuck?"
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

fixit

#8 Post by fixit »

Ephesians 4:29

New International Version (NIV)

Do not let any unwholesome talk come out of your mouths, but only what is helpful for building others up according to their needs, that it may benefit those who listen.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

Re: How to use Flat assembler?

#9 Post by technosaurus »

fixit wrote:Anyone have experience with Flat Assembler ?

I installed the program, but none of the examples work.

For example hello is one example and it is executable.
.., is not a well formed question, provides no context, demonstrates nothing of your actual situation, it is not even detailed enough to warrant being called vague...

"The program" -- what one exactly, from what package =link?
"none of the examples" - which examples, from where - link?
"work" -- what is it they do then and what did you try
"hello is one example and it is executable" -- this could be interpreted many ways

Noone can know whether you are running it properly in a terminal/console or just clicking away at the files willy=nilly in the filemanager... so yeah, WTF _is_ for your benefit, I'm only an A-hole when appropriate. If you never learn how to ask a well formed question, you willl continually be stifled from learning anything worth while.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

fixit

#10 Post by fixit »

If you don't understand my posts, then why not ask questions?

Are you perfect ?

You seem fairy intelligent.

Drew

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#11 Post by technosaurus »

because a forum is supposed to be for Q&A, not Q&Q&Q&A and my time is more valuable than that. The only reason I am even responding is to prevent others from making the same folly that may have legitimate questions and want to learn. For them (or anyone who thinks I'm just being rude) I present this useful link:
http://www.catb.org/esr/faqs/smart-questions.html
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply