EMUL instruction cycle ?error?

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

EMUL instruction cycle ?error?

887 Views
TSCeric
Contributor I

I have noticed that the instruction cycle count in the disassembly listing shows that the EMUL instruction uses one clock cycle, 0000  13  [1]  EMUL, however the instruction matrix for the 9S12 says EMUL uses 3 clocks.  Is there a file that CodeWarrior uses that can be corrected so that the listing will be correct?  Or is it true that the EMUL instruction does such a fast multiply?\

 

Thanks

Labels (1)
0 Kudos
1 Reply

250 Views
CompilerGuru
NXP Employee
NXP Employee

Which derivative are you using?

And how do you create the disassembly listing.

While S12's need (out of my memory) 3 cycles, S12X cores are faster and do only need a single cycle.

So could be that the disassembler is configured (or defaults to) an S12X.

 

Daniel

0 Kudos