flat assembler
Message board for the users of flat assembler.

Index > Linux > Print to terminal

Author
Thread Post new topic Reply to topic
donn



Joined: 05 Mar 2010
Posts: 321
donn 07 Apr 2010, 00:32
Anyone have a string of commands to print to a Linux terminal? Like printf or something like cin in C? Read one in a book in NYC, but didn't buy it at the time.

Cheers everyone,
Denat
Post 07 Apr 2010, 00:32
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler 07 Apr 2010, 01:14
See vid's example of using libc, he gives examples for Windows and Linux. In his example he uses printf and puts. For the file declaring the os specific stuff(like the piece of code that declares the use of printf) for Linux, open flibcl.asm, the code doing the printing is in main.inc.
Post 07 Apr 2010, 01:14
View user's profile Send private message Reply with quote
donn



Joined: 05 Mar 2010
Posts: 321
donn 07 Apr 2010, 01:24
beautiful, I'll give it a look.
Post 07 Apr 2010, 01:24
View user's profile Send private message Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo 08 Apr 2010, 13:48
Post 08 Apr 2010, 13:48
View user's profile Send private message Yahoo Messenger 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.