In one of the previous articles, we learned about Binary Coded Decimal (BCD) numbers. In this article, we will learn about how to convert a Decimal number to a BCD number and vice versa. Decimal number to BCD number Conversion…
What are the Different Types of BCD Codes
There are different types of BCD codes; however, the 8421 code is the most popular one. In this article, we will highlight three different types of BCD codes, such as 8421, 2421, and Excess-3. Both 8421 and 2421 are weighted…
Binary Coded Decimal
You must have seen the digital clock in the railway station or at many other places. The hour, minute and second digits are seven-segment displays that deal with binary coded decimal (BCD) numbers. In this particular article, we will learn…
Esperanto’s ET-SoC-1 Chip Integrates more than 1000 RISC-V Cores for Energy Efficient ML Recommendation
More than 1000 cores on a commercial chip – seems unbelievable!!! However, the highly sophisticated manufacturing processes, unbelievably optimized design integration, and the RISC-V open-source hardware revolution have made this possible. Esperanto‘s ET-SoC-1 Chip is a Supercomputer-on-Chip that integrates more…
How to Convert a Decimal Number to a Binary Single-precision Floating Point Number
In order to convert a decimal number to a binary single-precision floating point number, first of all, we need to convert the decimal number to its binary equivalent (unsigned magnitude form). A proper sign should be added based on the…
How to Determine the Binary Value from a Single-precision Floating Point Representation
In the previous article, we have seen the representation of a binary number in IEEE 754 single-precision floating point format. In this article, we will do the reverse process, which means determining the value of a binary number from a…
Single-Precision IEEE 754 Representation for Floating Point Numbers
In the previous article, we got an overall idea about the representation of floating point number. In this article, we will specifically focus on the single-precision IEEE 754 representation of floating point numbers. Single precision format represents any floating point…
Floating Point Format
Imagine you have a processor with registers of size 32 bits. Can the processor store a number larger than 32 bits in one register? It is possible if the number is represented in floating point format. The floating point format…
Hexadecimal Arithmetic
Though the computers store everything in binary format, the user interface deals with the hexadecimal format for ease of understanding. For a human, it is easy to deal with hexadecimal than the stream of ones and zeros. So, in this…
Understanding Overflow through Examples
We have learned from the article “addition of 2’s complement signed binary numbers” that overflow occurs if the carries into and out of MSB are different. In this article, we will solve some examples that highlight how to detect overflow…