answersLogoWhite

0


Best Answer

Carry flag is the the bit 7 of the 8 bit PSW register, whenever there is an addition or subtraction process that has a carry on its 7th bit, the carry flag (C/CY) will be set to 1.

OV is set to 1 when there is an arithmetic overflow. this applies to signed and unsigned operations.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Carry flag and over flow flag in 8051?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Advantages of pic controller over 8051?

The Pic Controller has many advantages over a 8051. The main advantage is the editing capabilities. Another advantage is the high resolution.


What are the Advantages of at89c52 microcontroller over 8051 microcontroller?

The at89c52 are ones that are more advanced. This means that they are programmable compared to the 8051 which is not. So this makes a really big difference.


What are advantages and drawbacks of carry look ahead circuit?

uning of carry look ahead circuit they work to stop over flow and the addition perform well


What are the advantages of PIC micro controller over 8051?

In general, personal preference and experience is what it comes down to. There are some PIC's that have built in RF systems; I don't believe there are any 8051's with this capability.


What are the advantages of PIC micro-controller over 8051?

In general, personal preference and experience is what it comes down to. There are some PIC's that have built in RF systems; I don't believe there are any 8051's with this capability.


What is the difference between conditional and control flags in 8086 microprocessor?

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.


What happens to the Olympic flag when the games are over?

What happens to the Olympic flag when the games are over?


Flies over the capitol when congress is in session?

A flag flies over the capital when Congress is in session. The flag that is flown is the American flag.


When was Raising a flag over the Reichstag created?

Raising a flag over the Reichstag was created in 1945.


Steady flow and non steady examples?

Steady flow: laminar flow over a sphere. Unsteady flow: turbulent flow over anything.


What flag flies over the Alamo?

the Texas flag oe 1824


Is there dirt in Niagara falls?

All rivers carry some dirt in them as they flow. So as the Niagara river goes over the Falls, there would be some dirt in the water.