[PIC] Instruction cycle and machine cycle

Status
Not open for further replies.

vinoth14

Junior Member level 1
Joined
Feb 27, 2015
Messages
19
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
184
What is Instruction cycle and machine cycle?
 

What is Instruction cycle and machine cycle?

machine cycle indicates the 'activity type'.
instruction cyle consists of many such machine cycles (activities).
 

It gets confusing sometimes.
A CLOCK cycle is one wave of oscillation at the clock input pin or from the internal clock generator
A MACHINE CYCLE or 'T' cycle is how long it takes to complete one internal operation, typically either 2 or 4 clock cycles in a PIC
An INSTRUCTION CYCLE is usually the same as machine cycles because most PIC instructions complete in one operation but it may be two machine cycles in the case of jump, call or branch instructions where a second memory fetch is needed to get the destination address.

Brian.
 
Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…