Why are there so many zeros in front of a binary number?

Asked 1 years ago, Updated 1 years ago, 114 views

Remuneration of 1 when 0100:(10000-00001)-0100=1111-0100=1011 (This is in the book I study).)

Why 10000-00001? Can't we just say 10000-1?

Why 0100? Can't we say 100?

(10000-1)-100=1111-100=1011?

Please explain why there is a zero in front of it.

computer-architecture

2022-09-22 20:12

1 Answers

0000 stands for hexadecimal.

00000000 means 1 byte.

A zero digit indicates the size of the data.

Computer science usually uses hexadecimal numbers a lot. This is because it is easy to convert to binary and easy to express.


2022-09-22 20:12

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.