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.
LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet
-
- Posts: 2
- Joined: Mon Feb 05, 2018 2:43 pm
Re: LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet
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.
Anyway, a little Googling will turn up tutorials on programming ARM processors.
Re: LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet
Hi,
You've posted a link to the technical reference manual. Have you tried the architecture reference manual?
Cheers,
Adam
You've posted a link to the technical reference manual. Have you tried the architecture reference manual?
Cheers,
Adam
-
- Posts: 2
- Joined: Mon Feb 05, 2018 2:43 pm
Re: LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet
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 ?