473,396 Members | 2,082 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Learn: linking, small data area, bss, relocation ...

Does anyone have any recommendations (books, links to class web pages,
etc) for straight-forward learning about everything in between C
programming and assembler? I know C fairly well, and I know assembler
fairly well (as far as using the instruction set to get things done).
What I'm short on is the in between parts: position independent code,
relocation, different sections (SDA, BSS, etc), placing them in flash,
relocating to RAM, how to manipulate all these i C and/or assembly to
get the code to do what you want.

Thanks!!

Nov 15 '05 #1
4 4561
"termiflyer" <dp*****@earthlink.net> wrote in news:1128697810.153693.143770
@z14g2000cwz.googlegroups.com:

Does anyone have any recommendations (books, links to class web pages,
etc) for straight-forward learning about everything in between C
programming and assembler? I know C fairly well, and I know assembler
fairly well (as far as using the instruction set to get things done).
What I'm short on is the in between parts: position independent code,
relocation, different sections (SDA, BSS, etc), placing them in flash,
relocating to RAM, how to manipulate all these i C and/or assembly to
get the code to do what you want.


The back end of the compiler and the linker do all that, so maybe somebody
in a compiler group will give a fuck.
Nov 15 '05 #2
termiflyer wrote:
Does anyone have any recommendations (books, links to class web pages,
etc) for straight-forward learning about everything in between C
programming and assembler? I know C fairly well, and I know assembler
fairly well (as far as using the instruction set to get things done).
What I'm short on is the in between parts: position independent code,
relocation, different sections (SDA, BSS, etc), placing them in flash,
relocating to RAM, how to manipulate all these i C and/or assembly to
get the code to do what you want.


This is off-topic in comp.lang.c. If you are considering placing code
in flash, you might want to visit comp.arch.embedded.

As far as segments and relocation, I suggest reading the documentation
for the linker that you are interested in.

Thad

Nov 15 '05 #3
"Thad Smith" <Th*******@acm.org> wrote in message
news:43***********************@auth.newsreader.oct anews.com...
termiflyer wrote:
Does anyone have any recommendations (books, links to class web pages, etc) for straight-forward learning about everything in between C
programming and assembler? I know C fairly well, and I know assembler fairly well (as far as using the instruction set to get things done). What I'm short on is the in between parts: position independent code, relocation, different sections (SDA, BSS, etc), placing them in flash, relocating to RAM, how to manipulate all these i C and/or assembly to get the code to do what you want.


This is off-topic in comp.lang.c. If you are considering placing code
in flash, you might want to visit comp.arch.embedded.

As far as segments and relocation, I suggest reading the documentation
for the linker that you are interested in.


Also, find a newsgroup for the hardware you are interested in.

--
Mabden
Nov 15 '05 #4
In comp.lang.c termiflyer <dp*****@earthlink.net> wrote:
Does anyone have any recommendations (books, links to class web pages,
etc) for straight-forward learning about everything in between C
programming and assembler? I know C fairly well, and I know assembler
fairly well (as far as using the instruction set to get things done).
What I'm short on is the in between parts: position independent code,
relocation, different sections (SDA, BSS, etc), placing them in flash,
relocating to RAM, how to manipulate all these i C and/or assembly to
get the code to do what you want.


I'm not an expert in the field and I can't give you much advice,
but I think this might be a good overview:
http://www.iecc.com/linker/

You might also find some papers by Ulrich Drepper interesting.

comp.programming is probably a good place to ask this kind
of questions, too. It's definitely OT in c.l.c.

--
Stan Tobias
mailx `echo si***@FamOuS.BedBuG.pAlS.INVALID | sed s/[[:upper:]]//g`
Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ashish | last post by:
Hi all, I am building an HTML to PDF converter using dotnet. I am using a printer driver to convert HTML to PDF dynamically. I am printing my documents using that Printer driver so it converts it...
1
by: DCraig | last post by:
I'm having problems printing to a line printer from both Crystal Reports and SQL Server reporting services using dotnet. When I try and print a report from an application with Crystal I get the...
0
by: James Candilora | last post by:
When I try to print from C# (Visual Studio 2003) to a printer that uses the "Generic Text Only" printer driver I get an error message of "Data Area Too Small". I can see from other chat groups that...
3
by: John Baker | last post by:
Hi: I am an utter virgin at ASP, but have experience in HTML! I have a very basic question. I have an ASP sheet, where I wish to permit the user to enter a code, and then return the results...
7
by: Morias | last post by:
I have been trying to install a Zebra LP2844 on a computer running Windows XP. When using the add printer wizard I get an error that simply tells me "The printer could not be installed," but when...
14
by: hotadvice | last post by:
hi there i think this is an off topic question but i think u folks ,,,here know the best.... so .... case 1)
1
by: Bobby Edward | last post by:
I am doing a funeral home page (depressing huh?) :) They want an obituary page where people can post comments. So, in my db I have 2 tables (1 to many relationship)... TABLE1: Obituary...
2
by: alhulimy | last post by:
i am traing to print usisng printer (samsung srp-350) for invoice printing but nothing so far... ----------------------- Private Sub Button1_Click_4(ByVal sender As System.Object, ByVal e As...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.