Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Good day guys, this code here is part of the initialization code for a firmware of an STM32F030 microcontroller, disassembled using Radare2. It is executed after the clock initialization but […]
My program outputs encoded instructions, and each line represents an independent set of instructions, like this: 0x81FB4300000090 0x69FC4300000090 0x81FC4300000090 0x69FD4300000090 0x81FD4300000090 0x69FE4300000090 0x81FE4300000090 0x69FF4300000090 0x81FF4300000090 0x00054400000090 0x01054400000090 0x02054400000090 0x03054400000090 0x08054400000090 […]
I have a question about using the extended registers as in r8, r9, r10, …. , I want to use them frequently in my program, but I’ve noticed a problem […]
I’m working on a project where I want to execute code from internal SRAM on an STM32F103 as an exercise. My goal is to write some THUMB assembly by hand, […]
In a group work where we are trying to integrate an assembler subroutine for sorting numbers `Shellsort` with a `C` program, the sorting algorithm has been tested as a standalone […]
I want to optimize a computationally intensive loop using SIMD instructions on an Intel Core i7 `12700K` processor and 32GB of DDR4 `3200` memory , to boost the performance for […]
Write a C function to swap all odd and even bits in an unsigned integer. Bit positions 0, 2, 4, … are considered even bits, and positions 1, 3, 5, […]
I am debugging a program on an `x86-64` system `Ubuntu 22.04` `GDB v10.2` `GCC 11.2.0` using `GDB` and encountered an unexpected behavior. I was inspecting the value of the `rbx` […]
I’m working on a network server application in assembly language so I can understand low level networking concepts. So I’ve implemented a socket server using assembly language system calls, but […]