That is what my Serbian teacher says before giving us title for essay.small can be beautiful, so long as it is also clear and complete
Beaglebone Black OS from scratch 100% ASM
Re: Beaglebone Black OS from scratch 100% ASM
-
- Posts: 16
- Joined: Wed Aug 03, 2016 12:09 pm
Re: Beaglebone Black OS from scratch 100% ASM
Thank you lansjack.
Canard, i assume the ARMv7 reference manual is mainly about instruction set and how does ARM assembly language look ?
Canard, i assume the ARMv7 reference manual is mainly about instruction set and how does ARM assembly language look ?
Re: Beaglebone Black OS from scratch 100% ASM
If you just want to learn assembly programming I would recommend finding resources for beginners. You can use a debugger like GDB to step through a C program you've written and see how each instruction changes the state of the CPU.
I learned assembly programming in school using a MIPS emulator. There's not much difference between CPU architectures if you understand the basics (registers, loads, stores, arithmetic), so you can start with x86 if that's easier for you. Learning C is also a good way to become familiar with assembly. Working with baremetal hardware introduces extra complexity that won't help you learn.
You could look into the Arduino boards with an ARM cortex-m3. Arduino provides an easy path for a beginner to start working with baremetal hardware.
The armv7 document isn't useful for teaching yourself assembly. I use the armv7 doc for looking up the more obscure behavior relating to exception handling and MMU.
I learned assembly programming in school using a MIPS emulator. There's not much difference between CPU architectures if you understand the basics (registers, loads, stores, arithmetic), so you can start with x86 if that's easier for you. Learning C is also a good way to become familiar with assembly. Working with baremetal hardware introduces extra complexity that won't help you learn.
You could look into the Arduino boards with an ARM cortex-m3. Arduino provides an easy path for a beginner to start working with baremetal hardware.
The armv7 document isn't useful for teaching yourself assembly. I use the armv7 doc for looking up the more obscure behavior relating to exception handling and MMU.