answersLogoWhite

0


Best Answer

You can clear carry by using these two commands

STC // it will force to set the carry flag CF=1//

CMC //it willl complement that carry and you have done, CF=0 //

in single instruction u can reset carry by using any logical instruction. because logical operation resets carry always... eg. XRI 00h or ANI 0F

Geniusminds.com

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you clear carry flag in 8085?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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).


Why increment INR instruction in 8085 does not affect carry flag?

INR affect the carry flag.


Why DAD instruction only affect carry flag in 8085?

Carry


What is the use of AC Flag in 8085?

The Auxiliary Carry (AC) flag in the 8085 indicates a carry out of the low order 4 bits of an operation, more specifically that the low order 4 bits are greater than 9 (10012). The AC flag can thus be used to facilitate decimal arithmetic.


What is jump on carry in 8085?

Jump on Carry is simply a "JUMP" instruction which will transfer the control to some specific location if carry flag is set. For Example: JC 2004H This instruction will take the control to address location 2004H if carry flag is set.


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.


How do you clear overflow flag?

OR AX Will clear carry and overflow, leaving AX alone.


What are the uses of Auxiliary Carry flag?

The Auxiliary Carry flag of the Intel 8085 is used to store the carry/borrow from the least significant 4 bits of an 8 bit arithmetic operation. This bit (and the Carry flag from the most significant 4 bits) is needed by the Decimal Adjust Accumulator instruction to convert the result of the 8 bit arithmetic operation to correct 2 digit Binary Coded Decimal format.


How many flag registers are there in 8085?

We have only one flag register of 8 bits. Bits description is as follows (Assuming D0=LSB & D7=MSB) D7=Sign Bit. D6= Zero Flag D4= Auxiliary Carry Flag D2 = Parity Flag D0= Carry Flag.


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.


What is bus in 8085?

there are mainly 3 buses are there in 8085. They are: Address bus :-Used to carry address Data bus :- Used to carry data Control bus :-Used to carry signals such as control and timing signals


Four Ways to clear accumulator of 8085?

The four ways to clear the accumulator in the 8085 are...XRA AMVI A,0SUB ALDA {address of a zero}Answered By:KUNAL SINHARead more: What_are_the_4_ways_to_clear_the_accumulator_in_8085_microprocessors