answersLogoWhite

0


Best Answer

Flags are used to indicate the status of various things, usually following some kind of operation. For instance, the ZERO flag indicates the result is zero, the CARRY flag indicates the operation results in a carry, the NEGATIVE flag indicates the result is negative, etc.

Flags can be used in loop control. For instance you can decrement a counter at the end of a loop, and jump conditionally to the top of the loop if the counter is non zero.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

flag register has it's importance by following resion.

1.s-sign flag:use to store the sign of any number under processing i.e when arithmatical loicgic has negative sign it is in set condition.and rest in reset.

2.zero flag:when ALU operation is zero it is in reset condition.

3.auxilery carrry flag:it hold the carry during internal procesing of addition ,sub. mul,and div.

4.parity flag:hold 1 for even parity,0 for odd parity.

5.carry flag: hold carry after end of processing of operation.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Importance of flag registers
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is CLD in masm?

Clear direction flag (CLD) means that index registers will be incremented when looping through a string. Opposite of STD (set direction flag), which means the index registers of the string will be decremented when looping.


What is the importance of the Illinois flag in 1818?

the importance of the flag is that it repre4sents freedom and after a battle is won all is sought.


What is the importance of flags in microprocessor?

sign flag parity flag zero flag


What are the importance of a flag?

To represent the country


What is the size of flag register?

All of the 8086/8088 registers, AX, BX, CX, DX, SP, BP, SI, DI, CS, DS, SS, ES, IP, and FLAGS, are 16 bit registers. The AX, BX, CX, and DX registers may also be viewed as 8 eight bit registers AH/AL, BH/BL, CH/CL, and DH/DL.


Flag registers in Pentium 2 microprpcessor?

list 8-bit register that are used for register addressing


The different types of FLAGS register?

There are a huge number of different FLAG registers. The most common are zero flag (Z), carry flag (C), sign flag/ negative flag (S/N), and overflow flag (V/O/W). Each flag contains different information about the state of the processor.


What are the functions of execution unit in 8086 Intel?

Basically the function of execution unit in 8086 is to perform all arithmetic and logic operations.It tells the Bus Interface unit(BIU) where to fetch instructions and data from.It has 4 components:Control circuitry,ALU,Flag registers and general purpose registers. 1.control circuits-it directs all the internal operations. 2.ALU-performs all logic operations. 3.general purpose registers-used to store data during execution. 4.flag registers-it has a 16bit flag register containing 9 flags that are set for certain conditions during any operation.Ex.carry flag(whenever there is a carry). It also has a decoder to decode the fetched instructions.


What is the importance behind the Italian flag?

red green and white


Do flags have meanings?

Yes, flags often have specific meanings and can symbolize aspects such as national identity, heritage, values, and history. The colors, symbols, and design elements on a flag can all contribute to its overall meaning and representation.


What is the importance of the confederate flag?

Historically, it was the official flag of the CSA (Confederate States of America) as the US flag is for the US today. Now days it has become a symbol of southern heritage.


What is the importance of the American flag?

to show that were the best