How do you clear carry flag in 8085?

1 answer

Answer

1106759

2026-03-04 00:00

+ Follow

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

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.