AVR ASSEMBLY 1 Find the machine cycle if the crystal frequency is: a 20 MHZ b 10
ID: 3589327 • Letter: A
Question
AVR ASSEMBLY
1 Find the machine cycle if the crystal frequency is:
a 20 MHZ
b 10 MHZ
c 16 MHZ
2 In an AVR system with a 16 MHZ oscillator frequency what is the time to execute the following instructions or pseudo instructions?
a) ADIW R0, 255
b) OR R3,R4
c) RCALL label
d) RET
e) LDI R16, 234
f) BRCS label
g).ORG 0x00
3 How wide is the program ROM in the AVR chip?
4 Find the On chip program ROM size in K for the AVR chips with the following address ranges?
a) $0000--$1FFF
b) $000--$1FF
c) $000--$7FF
Explanation / Answer
[1b] 10 MHz:
10/12 = 833.3 KHz
Machine cycle = 1/833.3 KHz = 1.20us [us=microsecond]
[1c] 16 MHz:
16MHz/12 = 1.333 MHz
Machine cycle = 1/1.333 MHz = 0.75us [us=microsecond]
[1a] 20MHz:
20MHz/12 = 1.66 MHz
Machine Cycle = 1/1.66 MHz = 0.60us [us=microsecond]
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.