Instruction cycles for CALL and GOTO in PIC18

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Post Reply
picchiedi
Professional User
Posts: 142
Joined: Thu 2014-12-25 9:32

Instruction cycles for CALL and GOTO in PIC18

Post by picchiedi »

Hello.

I wonder why the CALL or GOTO instructions in PIC18 asm codes needs 3 instruction cycles, when running Proteus, instead of 2 instruction cycles, as stated in the data sheet of the micro.
See for instance, the enclosed simple project.

Thanks a lot for any kind clarification.

Regards.
Attachments
DIGI_POT_MCP41100_asm.pdsprj
(25.03 KiB) Downloaded 50 times
Ettore
Labcenter Staff
Posts: 2935
Joined: Fri 2006-03-03 11:56
Location: Milan
Contact:

Re: Instruction cycles for CALL and GOTO in PIC18

Post by Ettore »

You have been answered already about this.
viewtopic.php?f=9&t=6265&p=20787&hilit= ... C18#p20787
Kind regards,
Ettore Arena - Labcenter Electronics.
picchiedi
Professional User
Posts: 142
Joined: Thu 2014-12-25 9:32

Re: Instruction cycles for CALL and GOTO in PIC18

Post by picchiedi »

I apologize for that, Ettore.
I didn't remember that.
I searched in the forum with words like call and goto.
I missed that old post.
Thank you and sorry again.
Regards.
Post Reply