Microsoft Developer Blogs

Get the latest information, insights, announcements, and news from Microsoft.

The ARM processor (Thumb-2), part 20: Code walkthrough

As is traditional, I wrap up the processor overview series with an annotated walkthrough of a simple function. Here's the function again: Let's dive in. This function takes a single pointer parameter, which therefore is passed in the r0 register. No parameters are passed on the stack. We start by building our stack frame. From this one ...


Windows 11 background
Developing for Android on Windows

Hello Android developers! Today Microsoft announced the next version of Windows and a new Windows Store, and we’re excited to see how people take advantage of its new features. One thing that hasn’t changed is that Windows is still the best platform to design, build, test, and deploy Android apps. All tools welcome No ...


The ARM processor (Thumb-2), part 19: Common patterns

We saw some time ago how to recognize dense switch statements that use the TBB and TBH instructions. Here are some other common sequences in compiler-generated code. Note that instructions are likely to be reordered by the compiler to avoid stalls. A call to an imported function is an indirect function call through a global function pointer...