What about the other 3-bits in flag register ?

Morningdot Hablu

Morningdot Hablu

@morningdot-6Xuj4M Oct 26, 2024
Actually i have a silly doubt,
As we know our intel microprocessor have 5 flags and 1-bit space is alloted for each flag.
Flag register we are going to use is of 8-bits so 5-bits are used for the 5 different types of flag signal but But what about the other 3 bits ??
How these other 3 bits are used ??

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • shreyasm89

    shreyasm89

    @shreyasm89-jGobVm Oct 11, 2010

    They are "don't care" bits. I feel they must be utilised for verifyimg the presence of grabage value in the accummulator. Just a wild guess
  • cbaber

    cbaber

    @cbaber-HJiItW Oct 11, 2010

    Pretty much everything is based off of bits and bytes. 8 bits is 1 byte. 8 bits is going to be the minimum of any register because having everything in byte sized increments makes it easier to work with. If only 5 of 8 bits are used, the others are, like shreyasm89 said, dont care bits. They are not used.
  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww Oct 12, 2010

    shreyasm89
    They are "don't care" bits. I feel they must be utilised for verifyimg the presence of grabage value in the accummulator. Just a wild guess
    They are not used bits in this controller but they are also been configured in the higher version of the controller.
  • Morningdot Hablu

    Morningdot Hablu

    @morningdot-6Xuj4M Oct 12, 2010

    godfather
    but they are also been configured in the higher version of the controller.
    You mean to say that in newer version of microprocessor no of flag bit's is extended to 8 ?
    Can you tell me which 3 extra flag is added ?
  • Harshad Italiya

    Harshad Italiya

    @harshad-ukH5ww Oct 15, 2010

    mohit007kumar00
    You mean to say that in newer version of microprocessor no of flag bit's is extended to 8 ?
    Can you tell me which 3 extra flag is added ?
    No not like that.. see microprocessor and controller are very basic things...
    Now a days Microcontroller manufacturer company has given variety of controllers in which there are inbuilt ADC more port Pin.. or according to requirement in industry only 8 Pin IC is also available so according to features inbuilt in IC the flag register may be change or sometimes there are more than one register to indicate status of particular operation.