• LZ4 decompression routine for Cortex-M0 and later

    Jens Bauer
    Jens Bauer
    Recently I spoke about a LZ4 decompression routine I converted from 6502 code into a Arm Cortex-M0 code. I could not find my decompression routine, so I decided to convert it again. The result is in this…
    • August 22, 2016
  • Arm Cortex-M0 assembly programming tips and tricks

    Jens Bauer
    Jens Bauer
    In this post I show you some tips and tricks when writing assembly code for Cortex-M0 and Cortex-M0+.
    • August 22, 2016
  • Useful assembler directives and macros for the GNU assembler

    Jens Bauer
    Jens Bauer
    In order to keep my assembly-related documents easy to read and understand, I've written some macros for the GNU-assembler (also known as GAS).
    • January 31, 2016
  • Do you find 3D programming boring ?

    Jens Bauer
    Jens Bauer
    For a long time, I've not really been interested in 3D programming.(Well, I've done some minor OpenGL programming many years ago, but I must admit that I'm more of a dev-tools programmer)After watching…
    • April 27, 2015
  • Arm Cortex-M3 and later: Basic integer math operations, 32-bit

    Jens Bauer
    Jens Bauer
    This is the beginning of a 5-part series of articles on how to write some quick integer and fixed point math in assembly language for the Cortex-M3, Cortex-M4 and Cortex-M7 microcontrollers.
    • January 9, 2015
  • Unlocking the STM32F4 Discovery board with OpenOCD

    Jens Bauer
    Jens Bauer
    I haven't been able to flash-program the board because my only available tool is OpenOCD; I have no other options. Fortunately, OpenOCD is scriptable, so let's make it work.
    • December 24, 2014
  • Writing your own startup code for Cortex-M

    Jens Bauer
    Jens Bauer
    This post is designed as a tutorial in how to write assembly code for the Cortex-M series.
    • December 15, 2014
  • A fairly quick Count Leading Zeroes for Cortex-M0

    Jens Bauer
    Jens Bauer
    Cortex-M3 and later have a CLZ instruction which counts leading zeroes. But Cortex-M0 does not have an instruction for this. Instead you must use a provided subroutine or write your own. Let's try rolling…
    • October 3, 2014
  • Practical example: Why use an ARM microcontroller in a device

    Jens Bauer
    Jens Bauer
    For 3 years, my Mac has been very, very, very (and I mean very, very, very) sluggish.Typing on the keyboard would give me approximately 1 character per second.Sometimes I even had to resort to using my…
    • April 8, 2014
  • Can you build your ARM circuit and test it in 10 seconds ?

    Jens Bauer
    Jens Bauer
    What exactly is rapid prototyping ?Sometimes we get some great ideas; some ideas are forgotten due to it took too long to build other ideas.But if we could just build our circuits as quickly as they came…
    • February 25, 2014
  • The features I would like in my ARM processor (part 1)

    Jens Bauer
    Jens Bauer
    Originally this blog post was intended to be all-in-one, but I was suggested to split it into smaller parts.So what I'll do, is that I'll mention the features I'd like in my ARM processor, one at a time…
    • November 21, 2013