OSDev.org
https://forum.osdev.org/

LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet
https://forum.osdev.org/viewtopic.php?f=13&t=32740
Page 1 of 1

Author:  ioportaddress [ Mon Feb 05, 2018 3:16 pm ]
Post subject:  LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet

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.

Author:  iansjack [ Mon Feb 05, 2018 3:48 pm ]
Post subject:  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.

Author:  AJ [ Tue Feb 06, 2018 3:44 am ]
Post subject:  Re: LearningRunningAnyProgramOnAnyProcessorWithOnlyDatasheet

Hi,

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

Cheers,
Adam

Author:  ioportaddress [ Sat Feb 10, 2018 10:28 pm ]
Post subject:  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 ?

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/