Welcome to embeddedSoft

Technical articles related to embedded software design, programming, runtime analysis etc. 

Home graphic image

Embedded systems and software featured image

Embedded systems – An overview

What is an embedded systemAn embedded system is a combination of hardware and software designed to perform a specific function. Embedded systems range from simple devices such as calculators to extremely complex ones, such as …
Read More
Feature image for What is RTOS article

What is an RTOS (Real Time Operating System)

Real Time Operating System (RTOS) is a type of operating system used in embedded systems. General purpose OS such as Windows tries to maintain the PC responsive to the user. However, an RTOS guarantee predictable …
Read More
Graphic showing stickynotes

Implementation of Singly Linked List in C

A singly linked list is a data structure consisting of nodes where each node has a pointer to the next node in the list and the last node points to a null pointer marking the …
Read More
Graphic showing clock

Angle between hour and minute hands of analogue clock using C

This is a very interesting clock angle problem where the C program described in this article calculates the angle between the hour-hand and the minute-hand of an analog clock. In this example program if the …
Read More
Graphic showing typeset

Reverse order of words in a string using C language

Reversing the order of words in a string is a common interview question for embedded software engineer jobs. The idea of this example C program is to reverse the order of words but not the …
Read More
Graphic showing chip

Simple code to find endianness in C

Endianness is the order of storage of bytes of a word in memory; there are big-endian and little-endian systems. Often in latest microcontrollers there is option to switch between big-endian and little-endian schemes. Big-endian: Stores …
Read More
Graphic showing numbers

Example C code to set 5 bits starting from position 10

This is a common embedded software interview bitwise operation question. The magic numbers ‘5’ and ‘10’ are used arbitrarily to make the understanding of the problem easier. The idea of this program is to set …
Read More
Graphic showing code

Custom sizeof operator in C

The unary operator ‘sizeof’ is a very handy tool in C as well as in C++. It gives the storage size of a data-type/variable. This article describes an example C program showing the custom implementation …
Read More
Graphic showing typeset

C program to reverse a string

This is a very simple C program to reverse all the characters in a given string. As for example considering the string “hello world”, the program should output “dlrow olleh”. The string reversal problem is …
Read More

EMBEDDED SOFTWARE TECHNICAL ARTICLES