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
there are 5 flags of intel 8085 are: Carry flag(CY), parity flag(P), Auxiliary Carry flag(AC), Zero Flag(Z), Sign flag(S).
INR affect the carry flag.
Carry
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.
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.
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.
OR AX Will clear carry and overflow, leaving AX alone.
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.
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.
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.
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
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