What does "32-bit" mean?

Describes the difference between a 16, 32 & 64-bit instruction set and the difference between 32 and 64 bit CPUs

Пікірлер: 54

  • @TheFlyguy31
    @TheFlyguy319 жыл бұрын

    I cannot understand why no comments have been written because this is brilliant. The basics are properly explained for you to master and use for further study. A definite thumbs up from me..

  • @njs811271
    @njs8112718 жыл бұрын

    This was the clearest explanation I have found on KZread. Thank you.

  • @imperialguardsman3154
    @imperialguardsman31543 жыл бұрын

    This guy... explains so well. You are a good teacher!

  • @sandeepsastry3123
    @sandeepsastry31235 жыл бұрын

    A simple and amazing explanation of the basics. Thanks for the content, helped a lot!!!

  • @tyrion02
    @tyrion026 жыл бұрын

    thanks for taking the time to do this

  • @markman1276
    @markman12764 жыл бұрын

    Your explanation s are very simple and easy to understand. Look forward to seeing more videos .

  • @marian9802
    @marian98029 жыл бұрын

    you are great man! please keep up the good work on some low-level aspects of enginnering! it's great!

  • @BonKuma
    @BonKuma8 жыл бұрын

    That was a great explanation, thank you!

  • @Imrooot
    @Imrooot8 жыл бұрын

    Awesome tutorial!

  • @nusud
    @nusud9 жыл бұрын

    really great explanation! thank you!

  • @omkarramtekkar02
    @omkarramtekkar029 жыл бұрын

    Really awesome. Please add more tutorials like this.

  • @minomarazzini
    @minomarazzini7 жыл бұрын

    So clear and well explained ;)!

  • @spocksear7616
    @spocksear76165 жыл бұрын

    Thank you, learned a lot today !

  • @niamatullahbakhshi9371
    @niamatullahbakhshi93718 жыл бұрын

    A special thanks from you sir! I really have learnt a lot from this and all your videos .. Keep it Up ... :)

  • @siwenzhang
    @siwenzhang7 жыл бұрын

    Clear, Instructive, Great!

  • @krishna_o15
    @krishna_o152 жыл бұрын

    This is a very helpful video.

  • @MyAAEProjects
    @MyAAEProjects9 жыл бұрын

    Awesome video sir!

  • @MrSaemichlaus
    @MrSaemichlaus10 жыл бұрын

    You look like the guy in "les incroyables" :) Awesome tutorial!

  • @roysouvik9831
    @roysouvik98314 жыл бұрын

    Great explanation.

  • @mostafanajmi2132
    @mostafanajmi21328 жыл бұрын

    Thank you for this useful video

  • @golddiggerxxxxx
    @golddiggerxxxxx7 жыл бұрын

    great tutorial ! i love it... thanks for share this video!

  • @PurpleHeadedWarriorz
    @PurpleHeadedWarriorz10 жыл бұрын

    Great video, thanks for the help :)

  • @SweetyLifeInc
    @SweetyLifeInc9 жыл бұрын

    now..this is some real lecture

  • @bhaskarakummithi8737
    @bhaskarakummithi87378 жыл бұрын

    Very nice, thank you sir.

  • @markman1276
    @markman12764 жыл бұрын

    Great explanation 👍 Look for more videos

  • @albinhakansson3323
    @albinhakansson33237 жыл бұрын

    nice video, but isn't it the register bit size that determines how much memory can be accessed? Rather than the instruction set bit size?

  • @davecrabbe4579

    @davecrabbe4579

    7 жыл бұрын

    yes.. the size of the address register affects how much memory can be accessed. Not all registers inside a CPU are the same size. (But most are) When we say a CPU is '8 bit', that used to reference the basic size of the OpCodes. However, as CPUs became more and more complex, there was no single way to define what '64-bit' means. It became more of a marketing game.

  • @freecrac
    @freecrac7 жыл бұрын

    Hint: With a x86-64 we can use the 64 bit mode, the 32 bit mode and the 16 bit mode. With a 80386+ we can use the 32 bit mode and the 16 bit mode. Using a 80386+ within the 16 bit mode we can use the 16 bit instruction set and the 32 bit instruction set together with address size and operand size prefixes for to address 4 GB within the 16 bit mode. The only one difference between the 16 bit mode and the 32 bit mode on a 80386+ is the default address and operand size and the usage of the address size and operand size prefixes. Starting with the Pentium MMX (32 bit CPU) we can additional use the MMX instruction set with eight 64 bit MMX register within the 32 bit mode and also within the 16 bit mode using MMX instruction prefixe. Using a x86-64 within the 32 bit mode we can use the 32 bit instruction set and the 16 bit instruction set, but we can´t use the 64 bit instruction set within the 32 bit mode or within the 16 bit mode. So the difference between the 64 bit mode and the 32 bit and the 16 bit mode is much greater as the difference between the 16 bit mode and the 32 bit mode.

  • @davecrabbe4579

    @davecrabbe4579

    7 жыл бұрын

    Great addition to the info provided. Unless one actually did some low-level programming with a CPU, this stuff gets hard to understand. I think the basic crux is that the x86-64 has a 'mode' where it allows for a much larger addressing space than 4GB. In this mode, it uses the same 32 bit instruction set of the x86 so that it is fully compatible with all existing x86 apps that existed at that time. The Intel Itanium was a totally new CPU architecture that was 64-bit and accessed lots of memory, but its native instruction set was not compatible with the 32-bit x86 CPU and so people had to re-write/recompile their code, which was more effort than people wanted to take. When Intel realized it was not being adopted, it incorporated various levels of x86 'emulation' to allow people to run older apps. But too little, too late. Thus the x86-64, while called a 64-bit CPU, is really more of a modified x86 core that allows a much larger addressing space.. This was what happened when it first appeared. Since then CPU designs have evolved significantly and I have not tracked their capabilities.

  • @MatthewSuffidy
    @MatthewSuffidy6 жыл бұрын

    I was looking around for something describing how the 386 had 32 bit capability when Linux could use it and not windows. I assume it was just done prospectively and microsoft was behind on it. I think it is important to mention how starting with 32 bit, the preemptive capability existing, and the ability to access address in a straight, non memory segmented manner are the biggest differences.

  • @davecrabbe4579

    @davecrabbe4579

    6 жыл бұрын

    When switching to 32 bit instructions, all drivers for hardware devices, such as video cards, had to be re-written. This takes much time. I remember when using Linux in these days, the list of hardware peripherals that would work was very, very limited. It was generally a nightmare taking a random PC and installing Linux on it, unless you knew how to recompile drivers. As Microsoft had to support thousands of different hardware combinations, it took them a while to get a stable OS out.

  • @chinmay6144
    @chinmay61444 жыл бұрын

    Thank you so much 🍀🍀🍀🍀

  • @Neyolight
    @Neyolight9 жыл бұрын

    Good video.

  • @xenonshaw
    @xenonshaw8 жыл бұрын

    thanks for the explanation u deserve a sub and one like

  • @katarinacvejin7097
    @katarinacvejin70978 жыл бұрын

    Thank you.

  • @yekendeapandey3292
    @yekendeapandey32925 жыл бұрын

    wow this is the real lecture

  • @cr3ativemind92
    @cr3ativemind928 жыл бұрын

    Thank you

  • @oudomchem5133
    @oudomchem51338 жыл бұрын

    thank for good video

  • @israelkarity4116
    @israelkarity41167 жыл бұрын

    it would be good if you explained about ls\st so it will be clear why and how longer commands realate to bigger RAM

  • @davecrabbe4579

    @davecrabbe4579

    7 жыл бұрын

    I don't understand what you mean by ls\st. Fetching multiple pieces of data to chain into a longer command is beyond the scope of what I wanted to discuss in this video.

  • @livegaming97
    @livegaming976 жыл бұрын

    thaaaaanks keep it up

  • @echoRohit
    @echoRohit8 жыл бұрын

    good one

  • @peanutvonnut3696
    @peanutvonnut36967 жыл бұрын

    I got 8 gb ram and can only use half so if i upgrade the cpu i can use it?

  • @davecrabbe4579

    @davecrabbe4579

    7 жыл бұрын

    if your PC is less than 5 years old, you've like installed the 32-bit version of Windows.. Install the 64-bit version and you will likely have access to 8GB RAM.

  • @aj-uo3uh
    @aj-uo3uh6 жыл бұрын

    Good stuff but I prefer to have the simple picture in my head that 64 bit means registers of 64 bit so that you can access 2^64 different pieces of memory. That is still explainable to the sales person that sells the software in my company.

  • @davecrabbe4579

    @davecrabbe4579

    6 жыл бұрын

    But it is not correct. The "64-bit" Athlon did not have a 64-bit instruction set, nor did its address register have 64 bits. It could more 64 bits of data at once.

  • @sydneyxider
    @sydneyxider9 жыл бұрын

    thanks..

  • @waildjeha8863
    @waildjeha88636 жыл бұрын

    You said that the Athlon 64 had a 64bit register , doesn't that mean that this CPU could access 2^64 of RAM ?

  • @davecrabbe4579

    @davecrabbe4579

    6 жыл бұрын

    There are many groups of registers inside a CPU. Saying the Athlon is a 64-bit CPU comes from their marketing department. It did not have a 64-bit instruction set, nor did it have a 64 bit address register. It did have an address register with more than 32 bits.. about 38 bits, I think; which gave it the ability to access more RAM than the INTEL designs (until Intel copied AMD in this x64 design)

  • @davecrabbe4579

    @davecrabbe4579

    5 жыл бұрын

    There are many registers inside a CPU. The registers that move data on the data bus are 64 bits so that 64 bits can be moved at once. However, there is an address bus register and this can be any size. In the 8086 it was 20 bits and so 2^20 was 1MB and thus the memory limit. In the 32 bit pentiums, it was 32 and so 2^32 was 4GB and that limit. The "64 bit" AMD enhancement in some Athlons increased the size of the address register to about 36 bits I think (not 64), and so this beat Intel at its own game and allowed more than 4GB of memory to be used. AMD started outselling INTEL in server CPUs until Intel copied AMDs enhancement.

  • @abdallahmansor
    @abdallahmansor5 жыл бұрын

    Great🥰

  • @tivrfoa
    @tivrfoa8 жыл бұрын

    8 bits = 1 byte. why 2^20 = 1 MByte and not 1Mbit?

  • @davecrabbe4579

    @davecrabbe4579

    7 жыл бұрын

    Not quite that simple.. if you have 4 address lines.. then you can 'address' 2^4 or 16 'things'.. the size of the databus determines how many bits you can transfer.. so with 4 address lines and 8 data lines I can move 16 x 8 bit chunks of data or 16 Bytes of data. If I have 20 address lines, I can move 2^20 or 1Mega chunks of data.. If the data moved as on 8 data lines, I'm moving 1 byte of memory, so 20 address lines allow me to move and access (or address) 1MByte of memory.. I'm simplifying it a bit here.. .. basically the number of address lines (which are controlled by the address register) determines how much memory your CPU can use.

  • @shahzain009
    @shahzain0099 жыл бұрын

    u look like charlie sheen :D