1-1-2. Digital Value: Units of Binary Data

Unit of the binary data
Unit of the binary data

The data used by the microcontroller has a unit.
When the data is represented by the binary number, one digit is called a bit.
It may be handled by 4 bit, 8 bit, 16 bit, etc.
1024 bits are called 1K (Kilo) bits.
Please note that 1K is not 1000.
The nibble is a binary number of 4 digits and represents 1 nibble (4 bit) of data.
The byte is a binary number of 8 digits and represents 1 byte (8 bit) of data.
In addition, "Word" may be used.
There is no regulation that "1 word = the number of bits", and 1 word represents 1 data.
For example, 4 bit data is sometimes called 1 word in a 4 bit microcontroller, and 16 bit data is sometimes called 1 word in a 16 bit microcontroller.
Therefore, check in advance how many bits for 1 word are used in the microcontroller, and how to handle them.

Chapter 1 Basics of Digital Circuits

1-1. Digital Value
1-1-1. Digital Value: Binary and Decimal
1-1-3. Digital Value: Notation Method of Data
1-1-4. Digital Value: Conversion Method of the Data
1-2. Logic Circuit
1-2-1. Logic Circuit: AND Circuit
1-2-2. Logic Circuit: OR Circuit
1-2-3. Logic Circuit: NOT Circuit
1-2-4. Logic Circuit: Exclusive OR (XOR) Circuit
1-2-5. Logic Circuit: 3 State Buffer (1)
1-2-6. Logic Circuit: 3 State Buffer (2)
1-2-7. Logic Circuit: Application Example of Logic Circuits
1-2-8. Logic Circuit: RS flip-flop Circuit
A new window will open