Hello,
I use the following instruction for some calculation and storing it's result:
SUB { src1=R, src2=T, dest=NONE, rdest=REM, remote=SOME_LABEL, data=0 }
Now, what is the execution time of mentioned instruction? I think it doesn't fit into any line of Table 20-56 in SPNU499b. From the HET simulator, I have figured out that it is one-cycle instruction, am I right?
Thank you,
Jan
Edit: the MOV32instruction in the following pair of instructions should take – according to the Table 20-63 in SPNU499b – one cycle, but the HET IDE shows, that it takes two cycles. I guess, that the HET IDE is right, as the ECMP instruction immediately follows the MOV32.
MOV32 { remote=LABEL, type=REGTOREM, reg=R, z_cond=ON, data=DUMMY_DATA, next=LABEL };
LABEL ECMP { hr_lr=HIGH, en_pin_action=ON, pin=PIN1, action=PULSELO, reg=A, data=DUTY_CYCLE };