Think In Geek

In geek we trust

Raspberry Pi

ARM assembler in Raspberry Pi – Chapter 26

In this chapter we will talk about a fascinating step that is required to create a program, even when using assembler. Today we will talk about linking.

ARM assembler in Raspberry Pi – Chapter 25

In chapter 13 we saw VFPv2 and the fact that it allows vectorial operations on floating-point numbers. You may be wondering if such a similar feature exists for integers. The answer is yes although in a more limited way.

, , ,

ARM assembler in Raspberry Pi – Chapter 24

Today we will continue with nested functions.

, ,

ARM assembler in Raspberry Pi – Chapter 23

Today we will see what happens when we nest a function inside another. It seems a harmless thing to do but it happens to come with its own dose of interesting details.

ARM assembler in Raspberry Pi – Chapter 22

Several times in previous chapters we have talked about ARM as an architecture that has several features aimed at embedding systems. In embedded systems memory is scarce and expensive, so designs that help reduce the memory footprint are very welcome. Today we will see another of these features: the Thumb instruction set.

,

ARM assembler in Raspberry Pi – Chapter 21

We already know that ARM is a 32-bit architecture: general purpose registers are 32-bit wide and addresses in memory are 32-bit numbers. The natural integer size for an architecture is usually called a word and in ARM is obviously 32-bit integers. Sometimes, though, we need to deal with subword data: integers of size smaller than […]

ARM assembler in Raspberry Pi – Chapter 20

Today we will see how to make indirect calls.

ARM assembler in Raspberry Pi – Chapter 19

So far our small assembler programs have output messages using printf and some of them have read input using scanf. These two functions are implemented in the C library, so they are more or less supported in any environment supporting the C language. But how does a program actually communicate with the world?

ARM assembler in Raspberry Pi – Chapter 18

In this chapter we will delve a bit more into the stack.

ARM assembler in Raspberry Pi – Chapter 17

In chapter 10 we saw the basics to call a function. In this chapter we will cover more topics related to functions.

Previous Posts