« Return to Thread: Accumulator A - INCA - C flag

Re: Accumulator A - INCA - C flag

by Edward Karpicz :: Rate this Message:

Reply to Author | View in Thread

On Prima Aprilis contents of flag C indeed depends on what will be in A
after INCA instruction. It does depend even more on what was in A before
INCA. Open CPU12 reference manual, Instruction Questionary, INCA, and you
will see triangle in corresponding to C flag CCR details box. Which, as
22.19 Condition Code Changes states, means that it's hard to predict C
value....

----- Original Message -----
From: "stewartraymond" <stewartraymond@...>
To: <68HC12@...>
Sent: Wednesday, April 01, 2009 3:49 AM
Subject: [68HC12] Accumulator A - INCA - C flag


> The contents of Accumulator A are $FF, and the C flag is cleared. An INCA
> instruction is executed, the C flag will be ____________________.
>
> 1. set
> 2. cleared
> 3. cannot be determined
> 4. added to Accumulator A, so that it contains $01
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>

 « Return to Thread: Accumulator A - INCA - C flag