Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 02 Sep 2014, 10:44
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
How to use Flat assembler?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
fixit


Joined: 16 Mar 2013
Posts: 648
Location: El Lago, Texas

PostPosted: Sat 10 May 2014, 19:31    Post subject:  How to use Flat assembler?  

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.

_________________
Andy
Slacko Puppy 5.6.0
OpenSuse 13.1 KDE
Windows XP SP3
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 622
Location: Staffordshire

PostPosted: Sun 11 May 2014, 10:39    Post subject:  

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.
Back to top
View user's profile Send private message 
fixit


Joined: 16 Mar 2013
Posts: 648
Location: El Lago, Texas

PostPosted: Sun 11 May 2014, 15:43    Post subject:  

I tried running it both ways.
_________________
Andy
Slacko Puppy 5.6.0
OpenSuse 13.1 KDE
Windows XP SP3
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4348

PostPosted: Thu 15 May 2014, 15:16    Post subject:  

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

you must have gotten errors. wtf

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
puppy_apprentice


Joined: 07 Feb 2012
Posts: 135

PostPosted: Thu 15 May 2014, 17:42    Post subject:  

If You want to learn asm You can try nasm:

http://www.tutorialspoint.com/assembly_programming/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/).
Back to top
View user's profile Send private message 
fixit


Joined: 16 Mar 2013
Posts: 648
Location: El Lago, Texas

PostPosted: Fri 16 May 2014, 12:44    Post subject:  

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

_________________
Andy
Slacko Puppy 5.6.0
OpenSuse 13.1 KDE
Windows XP SP3
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4348

PostPosted: Fri 16 May 2014, 14:50    Post subject:  

Yeah, sorry for the abbreviation, I meant to say: "What the Fuck?"
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
fixit


Joined: 16 Mar 2013
Posts: 648
Location: El Lago, Texas

PostPosted: Sat 17 May 2014, 22:09    Post subject:  

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.

_________________
Andy
Slacko Puppy 5.6.0
OpenSuse 13.1 KDE
Windows XP SP3
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4348

PostPosted: Sun 18 May 2014, 12:01    Post subject: Re: How to use Flat assembler?  

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.

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
fixit


Joined: 16 Mar 2013
Posts: 648
Location: El Lago, Texas

PostPosted: Sun 18 May 2014, 20:13    Post subject:  

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

Are you perfect ?

You seem fairy intelligent.

Drew

_________________
Andy
Slacko Puppy 5.6.0
OpenSuse 13.1 KDE
Windows XP SP3
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4348

PostPosted: Sun 18 May 2014, 22:19    Post subject:  

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

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
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
[ Time: 0.0776s ][ Queries: 12 (0.0247s) ][ GZIP on ]