32 Questions
The 'COM Rd' instruction inverts the contents of Rd and places the result back into the Rd ______
register
The AVR flag register to indicate arithmetic conditions is called ______ register
status
The bits C, Z, N, V, S, and H are called conditional ______
flags
The carry flag 'C' is set whenever there is a carry out from the D7 ______
bit
If the result is zero, Z = ______
1
EEPROM in AVR chips does not lose its data when power is off, whereas _________ does
SRAM
EEPROM is used for storing data that should rarely be changed and should not be lost when the power is off; whereas _________ is used for storing data and parameters that are changed frequently
SRAM
The GPRS, SFRs, and internal data _________ are made of SRAM
SRAM
In AVR datasheets, EEPROM refers to the EEPROM’s size, and _________ is the internal SRAM size
SRAM
LDS Instruction (LoaD direct from data Space) tells the CPU to load one byte from an address in the data memory to the GPR; the location in the data memory can be in any part of the _________
data space
STS Instruction (STore direct to data Space) tells the CPU to store the contents of the GPR to an address location in the data memory space; the location can be in any part of the _________ space
data memory
The negative flag reflects the result of an ______ operation
arithmetic
If the D7 bit of the result is zero, then N = 0 and the result is ______
positive
The Overflow flag is set whenever the result of a signed number operation is too large, causing the high-order bit to overflow into the ______ bit
sign
The carry flag is used to detect errors in unsigned arithmetic operations while the overflow flag is used to detect errors in signed ______ operations
arithmetic
The Half carry flag is set if there is a carry from D3 to D4 during an ADD or SUB operation; otherwise, it is ______
cleared
The AVR microcontroller has only one data type (8-bit) and the size of each register is also 8 bits. It is the job of the programmer to break down data larger that 8 bits to be processed by the ______
CPU
Assembler directives give directions to the ______
assembler
The .EQU (equate) directive is used to define a constant ______
value
The .ORG (origin) directive is used to indicate the beginning of the ______
address
Assembly languages provided mnemonics for the machine code instructions, plus other features that made programming faster and less prone to ______
error
The 'asm' source file containing the program is fed to the AVR ______
assembler
The 'hex' file is burned into the AVR’s program ______
ROM
The 'eep' file is burned into the AVR’s ______
EEPROM
The 'obj' file is used as an input to a ______ or an emulator
simulator
Assemblers assume that the 'lst' file is not wanted unless you indicate that you want to ______ it
produce
The address bus is ______ bits wide.
16
In the AVR architecture, the program ROM space uses the ______ endian method.
little
The AVR microcontrollers use ______ architecture to increase processing power.
RISC
RISC architecture aims to simplify by reducing the number of ______.
instructions
The big cost of implementing a large number of instructions led to the idea of reducing the number of ______.
instructions
The AVR microcontrollers employ three methods to increase processing power: increasing clock frequency, using Harvard Architecture, and adopting ______ architecture.
RISC
Test your knowledge on the differences between EEPROM and SRAM in AVR chips. Learn about the purposes of EEPROM and SRAM, as well as their functions in storing data. Explore the distinctions between EEPROM's ability to retain data when power is off and SRAM's frequent data changes.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free