LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-09-2004, 07:21 PM   #1
joe911
LQ Newbie
 
Registered: Oct 2004
Location: Egypt
Distribution: RD 3 Enterprise and Fedora 1
Posts: 10

Rep: Reputation: 0
eBook: Programming Ground Up


Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License,

Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts,

and with no Back-Cover Texts. A copy of the license is included in Appendix H. In addition, you are granted full rights to use the

code examples for any purpose without even having to credit the authors

This text uses Linux assembly language to take you one step at a time how processors view memory, how the processor works,

how programs interact with an OS, how computers represent data internally, and much more.

U can get the book from here:
hxxp://savannah.nongnu.org/projects/pgubook/
 
Old 10-10-2004, 11:05 AM   #2
Dodgeram01
Member
 
Registered: Jun 2003
Distribution: Gentoo and Ubuntu
Posts: 95

Rep: Reputation: 15
http://savannah.nongnu.org/projects/pgubook/

--corrected link
 
Old 10-10-2004, 12:05 PM   #3
joe911
LQ Newbie
 
Registered: Oct 2004
Location: Egypt
Distribution: RD 3 Enterprise and Fedora 1
Posts: 10

Original Poster
Rep: Reputation: 0
thnx dear, but i can't post links untill i have 5 posts!
so i had to do this trick.
 
Old 10-10-2004, 01:45 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I think it'd be a better idea to pos it to the links section.
 
Old 10-10-2004, 01:48 PM   #5
joe911
LQ Newbie
 
Registered: Oct 2004
Location: Egypt
Distribution: RD 3 Enterprise and Fedora 1
Posts: 10

Original Poster
Rep: Reputation: 0
u r the mod not me,
so it is ur decision
 
Old 10-10-2004, 02:09 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
As far as I know everyone can post a link.
 
Old 10-10-2004, 02:25 PM   #7
joe911
LQ Newbie
 
Registered: Oct 2004
Location: Egypt
Distribution: RD 3 Enterprise and Fedora 1
Posts: 10

Original Poster
Rep: Reputation: 0
when i was posting the original thread i got a msg saying that u can't post links untill u have 5 posts!

i don't why???!
 
Old 10-10-2004, 04:02 PM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
And now you have 8. This sort of thing is much better in the links section. I'd suggest (as did Mara) that you post it there.
 
Old 10-10-2004, 04:45 PM   #9
joe911
LQ Newbie
 
Registered: Oct 2004
Location: Egypt
Distribution: RD 3 Enterprise and Fedora 1
Posts: 10

Original Poster
Rep: Reputation: 0
sorry,
i can't see links section!

would u plz move the post
 
Old 10-11-2004, 03:10 PM   #10
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
On the right, find 'Main Menu', then 'Linux Links'.
 
Old 10-11-2004, 05:18 PM   #11
joe911
LQ Newbie
 
Registered: Oct 2004
Location: Egypt
Distribution: RD 3 Enterprise and Fedora 1
Posts: 10

Original Poster
Rep: Reputation: 0
thnx, i didn't look in the main page b4!
I added it to Docs section
but i sent it two times, i didn't notice that it must be approved first!

sorry, some times i can be such a braindead idiot
 
Old 10-11-2004, 05:45 PM   #12
atheist
Member
 
Registered: Sep 2003
Location: Iceland
Distribution: Debian Lenny - Kernel 2.6.22.8
Posts: 331

Rep: Reputation: 30
Well, thanks for posting this... I know I wouldn't have found it in the links section. :P

Do you have a links section, by the way? :P Hadn't heard of it before as I really just browse the software/debian/programming forums.
 
Old 10-11-2004, 08:13 PM   #13
NelsonN
LQ Newbie
 
Registered: Apr 2003
Posts: 17

Rep: Reputation: 0
Nice.

I have started reading it.

If the Introduction is anything to go by, this should be an excellent read.

Thanks for the link.
 
Old 10-12-2004, 02:56 AM   #14
frankie_DJ
Member
 
Registered: Sep 2004
Location: NorCal
Distribution: slackware 10.1 comfy, Solaris10 learning
Posts: 232

Rep: Reputation: 32
A quick question: is this a fair statement?

number of assembly languages=number of architectures

in other words, does every architecture (x86, SPARC, PPC, ...) has its own assembly which, in addition, does not depend on OS?
 
Old 10-12-2004, 05:54 AM   #15
blackzone
Member
 
Registered: Jul 2004
Posts: 256

Rep: Reputation: 30
I was reading it and tried a sample test program:
---------------------------------------------------------------------
.section .data
text_string:
.ascii "The number is %d\0"
.section .text
pushl $88
pushl $text_string
call printf
popl %eax
popl %eax

and typed the following but output with error
-----------------------------------------------------------------------------------------
[root@localhost asm]# as printf.s -o printf.o; ld printf.o -o printf;
ld: warning: cannot find entry symbol _start; defaulting to 08048074
printf.o(.text+0x8): undefined reference to `printf'
-----------------------------------------------------------------------------------------
anyone know what's wrong? it supposely do printf("The number is %d", 88);
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Even get off the ground Haloony Linux - Newbie 7 08-17-2005 05:41 AM
Just canít seem to get off the ground gary79 Linux - Newbie 15 05-23-2005 06:16 PM
OpenBSD ebook klemen *BSD 3 05-15-2005 01:49 AM
ebook file formats jburford Linux - Software 3 05-10-2004 10:36 PM
Ebook prady Linux - Newbie 0 02-29-2004 02:52 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration