Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Is there any instructions that can perform based on Auxilary Cary state?

Status
Not open for further replies.

rjkrocks

Member level 3
Joined
Sep 12, 2011
Messages
66
Helped
9
Reputation
18
Reaction score
9
Trophy points
1,288
Location
Kerala, India
Activity points
1,844
Hi friends,

I am now studying in 8086 µP. this is a question related to it(using Assembly) and hope that this is a right place to ask.

1.My question is is there any conditional Jump instruction that performs based on the state of Auxilary Carry flag?
2.How can i check IF auxilary carry is set or not?
3.Is there any instruction to set and clear Auxilary carry like in the case of carry flag (like STC,CLC)
4.Can you tell the reason and alternative methods if the above conditions are not possible?

Thanks for taking time...............
 

Do you mean the same 8086 used in small computers circa 1980?

I did assembler language on my VIC20. It contains a 6502.

It has commands related to the carry register. They may resemble yours.

BCC (branch on carry clear)

BCS (branch on carry set).

CLC and SEC sound familiar.
 

Do you mean the same 8086 used in small computers circa 1980?

Dear Brad,

Yes I mean the 8086 used @ 1980 s

Beacuse in India,these are the uPs that we have to study now......... as per the Syllabus.......
well.....

For Carry, in 8086,
JC (jump if Carry)
JNC (jump if no Carry)
instructions can be used instead of BCS and BCC respectively.

But I want to know is there any similar instructions for auxiliary carry.

{let me also tell you Brad, it was a completely new information for me about VIC20. I never heard about that till you told me.. Thanks for a new insight.)
:), :)}
 

Hello,
Please can you give me an answer?????????????
needed it........
or is it because my question is unclear for you
 

The auxiliary carry (AC) is implemented just for the internal operation of the MCU mainly for BCD operations.

To my knowledge, the only instruction that depends on AC is DA (Decimal Adjust) which has to be performed after an ADD or ADDC (each of the two added variables in packed-BCD format).
 
Last edited:
The auxiliary carry (AC) is implemented just for the internal operation of the MCU mainly for BCD operations.

To my knowledge, the only instruction that depends on AC is DA (Decimal Adjust) which has to be performed after an ADD or ADDC (each of the two added variables in packed-BCD format).
Thanks...........
So DA and AA (asci Adjust) are only instructions depends on auxilary carry.
There is no other conditional Jumps for 'ac'...:sad:

so i have to review my algorithem.......... Thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top