answersLogoWhite

0

nop assembly instruction cycle time does differ by the microcontroller type but mostly they don't differ much anyway, I think if i remember well on AVR nop uses 1 cycle, on ARM Cortex M3 nop uses either 2 or 3 cycles depending on several other conditions, PIC uses also 1 clock cycle for its nop instruction but generally all PIC instruction use 4 or even more clock cycle as result of PIC MCU which are non-pipelined and take 4 clock cycles per instruction cycles! for this reason PIC MCU's Oscillator Frequency is always divided by 4 to compensate with the pipelining. this also means that a typical AVR is 4 times faster than PIC. Thus a PIC MCU needs 80 MHz clock to match a typical 20 MHz AVR in terms of speed. ofcourse assuming that both MCU are running exactly the same assembly instructions otherwise if remember well on average PIC's instruction take less cycles than AVR's therefore if both MCU aren't running exact identical assembly program Yes on average AVR will always be faster but probably not exactly twice as much because of some of its instruction taking more cycles than PIC's.

I hope the above helps.

Nshuti Olivier

Massey University - Albany

NZ.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is NOP Instruction stands in 8085 microprocessor?

The NOP instruction is a no-operation instruction. It does nothing to the state of the machine, except to use some time. In the case of the 8085, it uses four clock cycles plus however many wait states are need to access the NOP instruction from memory.


If the frequency of the crystal connected to 8085 is 6MHz calculate the time to fetch and executed NOP instruction?

At a crystal frequency of 6MHz, the 8085 microprocessor has a clock frequency of 3MHz, or a period of 333 nanoseconds. The NOP instruction requires four clock cycles, three to fetch and one to execute, so the NOP instruction with a crystal frequency of 6MHz would take 1.333 microseconds to fetch and execute. This does not include wait states, each of which would add 0.333 microseconds to the timing.


Difference between system tick and processor clock?

Based on the Crystal used in the circuit, and the divisor selection, the processor clock frequency is obtained the tick time is the min clock cycles required to do a nop operation


What is the use of NOP instruction in 8085?

The NOP (No Operation) instruction takes time but does nothing to the data or the status of the microprocessor. When executed in a loop, it can take substantial time, from microseconds, to milliseconds, to seconds.


What is function of nop in microprocessor?

The NOP instruction is short for no-operation. It is an executable instruction that does nothing to the processor, its registers, or its flags. It is useful in timing loops, or to provide room for patchabilty of a piece of code.


Will a DCF77 radio controlled clock bought in Germany work in the US?

Nop!


Define machine control instruction of 8085 microprocessor?

halt,DI (disable intrupts ),EI (enable intrupts),NOP(do nothing)


Does tmail work on computers?

no nop nopudy no no no nop nopudy no no


When did Nop Bophann die?

Nop Bophann died in 1959.


What is nop means in chats?

NOP means ''Not our Problem'' or ''No Problem''


When was Nop Maas born?

Nop Maas was born on December 1, 1949.


are you a girl?

nop