LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet

Programming, for all ages and all languages.
Post Reply
ioportaddress
Posts: 2
Joined: Mon Feb 05, 2018 2:43 pm

LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet

Post by ioportaddress »

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.
User avatar
iansjack
Member
Member
Posts: 4689
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet

Post by iansjack »

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.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet

Post by AJ »

Hi,

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

Cheers,
Adam
ioportaddress
Posts: 2
Joined: Mon Feb 05, 2018 2:43 pm

Re: LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet

Post by ioportaddress »

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 ?
Post Reply