answersLogoWhite

0


Best Answer

it is possible.

set any register to its maximum value i.e the registers being 8 bit registers FF (hexadecimal) and then increment it by using INR insrtuction.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is it possible to set both the carry and zero flags?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which flags are checked after instruction JNC and JNZ?

JNC is Jump No-Carry, so the carry flag is checked. JNZ is Jump No-Zero, so the zero flag is checked.


What are the various flags used in 8085?

there are 5 flags of intel 8085 are: Carry flag(CY), parity flag(P), Auxiliary Carry flag(AC), Zero Flag(Z), Sign flag(S).


Explain different types of flags in 8085 microprocessor?

Flags are microprocessor dependent. ie flags are different for different microprocessors. Flag represents the status ( & Type) of the operation performed. Ex: In terms of 8085 we have 5 flags : Zero, Carry, Ac Carry, Parity, Sign Flag register is of 8 bits in this case. These flags can also be used for logic implementation.


Why flags are used in 8086 processors?

Flags are used in CPUs to return the status of mathematical computations. They are used so conditional operations will work. Flags will set under conditions such as a result being negative, the result being zero, a comparison being equal, whether there is an overflow (number too big for the register), and whether there is a mathematical carry operation.Here is an example of how flags are used in Assembly:Cmp AX, 0 ;Is it zero?Jnz Skip ;If not, skip past next instruction.Sub AX, 1 ;Subtract one from the AX register.:Skip ;Label to skip to.So when the comparison is made, the zero flag may be set. Then Jnz (jump if not zero) is a conditional jump which only works when the zero flag is not set. There is also the Jz command to jump if zero. The flags register itself is rarely accessed directly, but many computations and opcodes affect or rely on the flags.


How many flags flew at ground zero?

if the ground zero it,s coming we don,t have any more flags flew ,just we need the peobel they nowk whate do.


How compare instruction is used in 8085?

The compare and subtract instructions in the 8085 both subtract one operand from another, and set flags accordingly. The subtract instruction stores the result in the accumulator, while the compare instruction does not - except for the flags, the compare instruction "throws" the result away.


How many loops do kingda ka the roller coaster have?

Both Medusa in Great Adventure (now called Bizarro) and in Discovery Kingdom have 7 loops. The is a Medusa in Six Flags Mexico that is wood and has no loops.


Show the bit positions of various flags in 8085 flag register?

The 8085 microprocessor has 5 flags: 1. Zero flag: The zero flag is set, when the ALU operation results a zero . 2. Carry flag: If an arithmetic operations results in a carry, this flag is set. 3. Parity flag: This flag is set, when an arithmetic or logical operation results in a data, which has even number of 1s. If otherwise, it is reset. 4. Sign flag: After the execution of an arithmetic or logic operations, if D7 bit of the accumulator is 1, it indicates a negative number and this flag is set. If otherwise, it is reset. 5. Auxiliary Carry flag: used for BCD Operations, During the BCD operations, if D3 bit producing the carry then the AC bit set as1, otherwise the bit is 0. 6. Carry Flag: when a carry is generated by digit D7, then the carry flag set as 1, otherwise the bit will be 0.


Is it possible for a bullet to have the same momentum as a truck?

Yes. For example, if both are at rest, both have zero momentum - but that's not the only case.


What is the importance of flags in microprocessor?

sign flag parity flag zero flag


Importance of flag registers?

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.


What Is The Flags Signals In Microprocessor?

Microprocessors are equipped with flags which are used for letting one know some information such as for instance whether the result of any operaton was positive or negative,the result contains the even parity bits or odd,whether carry bits are generated or not.all these help the programmer out in performing further opertaions.different microprocessors contain different types and differnet number of flags.for instance INTEL 8085 contains 5 flags. AUX CARRY FLAG,ZERO FLAG,SIGN FLAG,PARITY FLAG,CARRY FLAG Anand bhat(mca@kiit-870024)