answersLogoWhite

0


Best Answer

Control Flag Register:

The Control Flag Register (CFR), also known as the Program Status Word (PSW), is a register used to control the execution flow and behavior of the processor. It typically stores various control flags that govern different aspects of the CPU's operation. Some common flags found in the Control Flag Register include:

Carry Flag (CF): Used to indicate whether an arithmetic operation generated a carry or borrow.

Zero Flag (ZF): Indicates whether the result of an operation is zero.

Sign Flag (SF): Indicates the sign (positive or negative) of the result.

Overflow Flag (OF): Indicates whether an arithmetic operation resulted in an overflow.

Interrupt Flag (IF): Determines whether interrupts are enabled or disabled.

The Control Flag Register provides control over program execution, including branching, interrupt handling, and arithmetic operations. It helps determine the outcome of operations and can be used for conditional branching based on specific flag states.

Conditional Flag Register:

The Conditional Flag Register (CFR), also known as the Condition Code Register (CCR) or Status Register (SR), contains flags that reflect the result of the most recent arithmetic or logical operation performed by the processor. These flags are used to perform conditional branching and control the flow of instructions based on specific conditions.

The flags present in the Conditional Flag Register can vary depending on the processor architecture, but some common flags include:

Zero Flag (ZF): Indicates whether the result of an operation is zero.

Sign Flag (SF): Indicates the sign (positive or negative) of the result.

Overflow Flag (OF): Indicates whether an arithmetic operation resulted in an overflow.

Carry Flag (CF): Used to indicate whether an arithmetic operation generated a carry or borrow.

Auxiliary Carry Flag (AF): Indicates a carry or borrow from the lower-order nibble (4 bits) to the higher-order nibble.

The Conditional Flag Register is primarily used for conditional jumps or branches, allowing the processor to alter the program flow based on the current flag states.

To summarize, the Control Flag Register focuses on controlling the processor's behavior and handling interrupts, while the Conditional Flag Register reflects the outcome of arithmetic and logical operations and enables conditional branching based on flag states.

User Avatar

Md. Munnu Miah

Lvl 2
11mo ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

control flags will be set or reset only by the processor. and conditional flags will be controlled(set /reset) by the programmer.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between conditional and control flags in 8086 microprocessor?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between conditional and unconditional transfer of control?

Conditional - Imposing, depending on, or containing a condition. Unconditional - without conditions or limitations.


Difference between power PC 405 and microprocessor?

None. A microprocessor is a control and datapath strung together with a bag of bits to manage IRQs communicating over some kind of system bus.The PowerPC 405 is a microprocessor.


What is the difference between near and far procedure in 8086 microprocessor?

Near calls and returns transfer control between procedures in the same code segment. Far calls and returns pass control between different segments.


Differentiate between conditional and unconditional transfer control?

لااعلم


What is the difference between a control variable and a control treatment?

A control variable is a factor that is held constant in an experiment to prevent it from influencing the outcome. A control treatment, on the other hand, is a specific group or condition in an experiment that receives no experimental manipulation and is used as a baseline for comparison with the treatment groups.


What is the difference between feedback and control?

difference between feedback and control


What are control words in microprocessor?

to initialise the chip in microprocessor....that is for which purpose we are going to use it......


What is the major difference between control process and process control?

Difference between control process and process control is that system control process is typically the large scale version of where process control is used.


What is the difference between control and prevention?

Control refers to managing or reducing the impact of a disease or condition that is already present, while prevention involves taking measures to avoid the occurrence of the disease or condition altogether. Control strategies focus on minimizing the spread and impact of an existing problem, whereas prevention strategies aim to stop the problem from happening in the first place.


What is the difference between inventory control and inventory planning?

Their is no Difference


What is the difference between strategic control and financial control?

Define staregic control and financial control


Difference between coordination and control mixed?

differentiate coordination and control