Doubt regarding HCS 08 MCU

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Doubt regarding HCS 08 MCU

1,617 Views
sarathi
Contributor I
Hello members,
                       I am sarathi doing PG, I am new to this field i.e electronics. I am using HCS 08 MCU. In instruction set of this MCU, 1 instruction ADC ,X/ADD ,X or anythg space , X take 3 bus cycles. Can anybody able to clear my doubt. If u want you can mail me sarathius@yahoo.com
Labels (1)
0 Kudos
1 Reply

250 Views
Wings
Contributor I
"ADD ,X" does take 3 cycles. But not all instructions that use this addressing mode require 3 cycles. All the read-modify-write instructions (NEG, ASR, COM, etc.) take 4, "JSR ,X" takes 5, and "DBNZ ,X" takes 6.
0 Kudos