-
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 32 bits.
-
ARM assembler in Raspberry Pi – Chapter 20
Today we will see how to make indirect calls.
-
TinyMCE checkbox toggler for jQuery
Here’s a small jQuery code snippet that you can use to have an easy to use checkbox toggler to enable or disable a TinyMCE editor with ease (tested on TinyMCE version 4 and jQuery version 2.1.1).
It’s really easy to use. You just need to create a checkbox element with the class tiny_mce_toggler and a data attribute with the key editor and the text area id used as a TinyMCE editor as a value. The snippet can be easily extracted if you want to use it differently.
Here is the javascript snippet:
And here you can see how to integrate it on a page with a TinyMCE editor:
You can run the example on this fiddle: http://fiddle.tinymce.com/7jeaab
-
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 usingscanf
. 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?