Bare-Metal (low-level) Embedded Software PREREQUISITES

Number Bases and Bitwise Operations

0xAA, 01010101b, 0x55, 85h, <<, >>, &&, ||

Why learn about Number Bases and Bitwise Operations?

Understanding the correlation between binary, hex and decimal numbers is essential when it comes to working with low-level / bare-metal embedded software, mainly because computers work only with binary numbers, which we humans find difficult to work with, however there's a direct correlation between hexadecimal and binary whereby four 'bits' of binary equate to exactly one character in hex.

This correlation doesn't exist between binary and decimal, so often hex numbers are used when manipulating 'bits' within a value, and this is something you'll do a lot in embedded software as each 'bit' within a 'Control Register' in a micro has a specific functionality, so you'll need to be able to switch specific bits on or off to make the micro do what you want.

Here's a short video from Steve, with an introduction to Hex / Binary and Bitwise Operations...

Other free online resources...

Number bases (i.e. Binary, Decimal and Hexadecimal)

Wikipedia

BBC

Technical Viewpoint

Bitwise Operations

Wikipedia

Dev viewpoint

Once you've learned all about Number bases and bitwise operations...

Start our quiz at the Number Bases section...

Remember, you will need to complete ALL the sections of the quiz successfully before we will email you an invitation to join our mentorship course.

Or...

Start our Bare-Metal Embedded Software Prerequisites Quiz from the beginning

"Your Engineering Success" is a program trading name for Your Enlightened Potential Ltd. Registered in England and Wales, Co.No: 14074871.

* Earnings and income representations made by Your Engineering Success, and and their advertisers/sponsors are aspirational statements only of your earnings potential. These results are not typical and results will vary. We can in NO way guarantee you will get similar results.

Copyright 2025 Your Engineering Success All Rights Reserved.

Contact Us: [email protected]