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, 100 |
;100 decimal |
|
loop |
dec |
R16 |
|
|
|
brne |
loop |
|
|
end |
...... |
|
|
|