Digital and Embedded Systems, Bräunl 2015


Calculate the time it takes to execute the following program, from start to end, at a clock frequency of 16 MHz.

Use the timing information from the Atmel instruction set summary. Look under the "cycles" heading for the number of cycles for that instruction

start

ldi

R16, 150D

;150 decimal

loop

nop

nop

nop

dec

R16

brne

loop

end

....

56.25