OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 04, 2021 11:03 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet
PostPosted: Mon Feb 05, 2018 3:16 pm 
Offline

Joined: Mon Feb 05, 2018 2:43 pm
Posts: 2
Hello everyone,

i know the c++ programming language, how the computers works basically with different gates. I would like to run a 100% assembly program on a arm processor cortex a8 then without using an existing os. By reading some parts of that big 5000 pages processor's datasheet i know how to successfuly run any program on it. But i can't find where are explained how to use instructions with registers. I saw in the memory map section something like the ranges address of some registers whose are exposed like writer and reader registers, is it those ones who are the famous r0, r1..., r14 purpose registers ? Then i did not find where was explained how to use instructions. I really try to learn to program for this processor only by reading its datasheet http://www.ti.com/general/docs/lit/getl ... leType=pdf . So where should i search to find how to compute data and choose instruction ? I precise before i never programmed for processor in assembly and without os.


Top
 Profile  
 
 Post subject: Re: LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet
PostPosted: Mon Feb 05, 2018 3:48 pm 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4109
Location: Chichester, UK
Read the programmer's manuals, not just data sheets. Or is that what you mean by "data sheet"?

Anyway, a little Googling will turn up tutorials on programming ARM processors.


Top
 Profile  
 
 Post subject: Re: LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet
PostPosted: Tue Feb 06, 2018 3:44 am 
Offline
Member
Member
User avatar

Joined: Sun Oct 22, 2006 7:01 am
Posts: 2637
Location: Devon, UK
Hi,

You've posted a link to the technical reference manual. Have you tried the architecture reference manual?

Cheers,
Adam


Top
 Profile  
 
 Post subject: Re: LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet
PostPosted: Sat Feb 10, 2018 10:28 pm 
Offline

Joined: Mon Feb 05, 2018 2:43 pm
Posts: 2
Ok thank you i find it where you said. But is it usual that technicals datasheet do not contain information about what each word of bits does ? I may be find something else about that in technical datasheet, it is that each word's signification is stored and programmable in a rom memory near the center of operations, so softwared are not taken in technical datasheet, is it that ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 5 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group