Initialization of OS in MicroC/OS-II

One of the key strengths of ๐ฎ๐‚/๐Ž๐’-๐ˆ๐ˆ lies in its lightweight and independent task model. Each task executes specific functions or operations, allowing for efficient task switching and context switching. Let’s start by unraveling the software file structure, which sets the foundation for a deep dive into the workings of ๐Ž๐’_๐ˆ๐ง๐ข๐ญ(). We’ll delve into the […]

Read More Initialization of OS in MicroC/OS-II

About Operating Systems

In todayโ€™s technological era, embedded systems have become an integral part of our daily life. From smart homes to smart cities, embedded systems are everywhere, and they are making our lives easier and more comfortable. Embedded systems are designed to perform specific tasks, and they are often used in applications where reliability and efficiency are […]

Read More About Operating Systems

Addressing Modes

ALL ABOUT ADDRESSING MODES: Moving into the depths of low-level programming, we land upon assembly language. Assembly language is the closest language to us programmers and hardware. The assembly language is hardware dependent. You canโ€™t write the same code for all the devices that you are about to use. Before you write any assembly code, […]

Read More Addressing Modes

The allocators behind dynamic memory allocators

We know the common memory allocators as ๐ฆ๐š๐ฅ๐ฅ๐จ๐œ(), ๐œ๐š๐ฅ๐ฅ๐จ๐œ(), ๐ซ๐ž๐š๐ฅ๐ฅ๐จ๐œ(). Although having a different functionality, almost all of the above function as the same. ๐Œ๐š๐ฅ๐ฅ๐จ๐œ() allocates a chunk of memory with respect to the data type they are provided with.๐’๐ฒ๐ง๐ญ๐š๐ฑ: pointer = (typecast*) malloc(byte-size) ๐‚๐š๐ฅ๐ฅ๐จ๐œ() allocates given chunk of memory with size of each element, […]

Read More The allocators behind dynamic memory allocators

Some UNIX Utilities

GREP: Exploration of the metacharacters: ^ – It matches the beginning of a line $ – It matches the end of a line \ – It matches with a character placed next to it. Ex; * matches with the character * (asterisk) , \, with a comma, ] with a closing rectangular bracket and so […]

Read More Some UNIX Utilities

Stages of a Compiler

( Stage-1 ) About Preprocessor: ( Stage-2 ) About Compiler: ( Stage-3 ) About Assembler: ( Stage-4 ) About Liner or Link Editor: ( Stage-5 ) About Librarians and Libraries: During linking, a standard library, libc.a is automatically linked. If gcc -c is used:– The code is compiled but not linked. If gcc -Dname is […]

Read More Stages of a Compiler

Sliding over ๐‘๐’-๐Ÿ๐Ÿ‘๐Ÿ

It is used for the Serial interface. Other devices can be controlled through the terminal for text interface through RS 232. It was introduced in 1960 and since its introduction, it was known as ๐‘๐’-๐Ÿ๐Ÿ‘๐Ÿ but it is now officially called ๐“๐ˆ๐€-๐Ÿ๐Ÿ‘๐Ÿ. The TIA-232 describes mostly the ๐Ÿ๐Ÿ“-๐ฉ๐ข๐งย  connector, the ๐Ÿ—-๐ฉ๐ข๐ง connector description is also […]

Read More Sliding over ๐‘๐’-๐Ÿ๐Ÿ‘๐Ÿ