Raspberry Pi Assembly Programming: intro to functions

Published: 04 November 2016
on channel: skaai
16,975
160

warning: you need to know how to use VIM. if you don't even know what that word means, you should not be here! learn a little VIM (there are lots of good tutorials on YouTube) and come back.

Also, THIS CODE ONLY WORKS ON THE RASPBERRY PI, ASSEMBLY IS CPU SPECIFIC!

In this early installment, we type up some code that illustrates how assembler programs are put together. The data section holds your information and the text section holds the actual program.

we also learn the differnce between instructions and directives:
(if you relate programming to building a car)
assembler directive: instructions on how to bulid the code.
This is similar to the 'blueprints' on how to build a car and transmission.

assembler instruction: the runtime commands (the 'stuff' the program you create will do). This is similar to the engine and transmission in the car

some useful links:
Assembler Directives:
http://web.mit.edu/gnu/doc/html/as_7....

data and text segments:
https://www.cs.umd.edu/class/sum2003/...

more on push and pop commands:
http://www.cs.uregina.ca/Links/class-...



finally, thanks to debbizo for the background track "Abraxas Chief of the Stars Remix "
http://ccmixter.org/files/debbizo/55020

Table of Contents:

00:16 - introduction
01:22 - code - data part
02:23 - code - text part
07:10 - assemble and debug
08:00 - run it


Watch video Raspberry Pi Assembly Programming: intro to functions online without registration, duration hours minute second in high quality. This video was added by user skaai 04 November 2016, don't forget to share it with your friends and acquaintances, it has been viewed on our site 16,975 once and liked it 160 people.