CH3 Review Questions Flashcards
The mnemonic BRNE stands for ________.
Branch if not equal
True or False.
“BRNE BACK” makes its decision based on the last instruction affecting the Z flag.
True
“BRNE HERE” is a ____-byte instruction.
2
In “BREQ NEXT”, which register’s content is checked to see if it is zero?
Z flag of SREG
JMP is a(n) ___-byte instruction.
4
True or False.
In the AVR, control can be transferred anywhere within the 4M of code space by using the CALL instruction.
True.
The CALL instruction is a(n) ___-byte instruction.
4
True or False.
In the AVR, control can be transferred anywhere within the 4M of code space by using the RCALL instruction.
False.
With each CALL instruction, the stack pointer register,SP, is _________.
(incremented or decremented)
Decremented
With each RET instruction, the SP is ______.
(incremented or decremented)
Incremented
On power-up, the SP points to address______.
0
How deep is the size of the stack in the AVR?
The AVR’s stack can be as big as its RAM memory.
The RCALL instruction is a(n) ____-byte instruction.
2
______ takes more ROM space.
(RCALL or CALL)
CALL
True or False.
In the AVR, the machine cycle lasts 1 clock period of the crystal frequency.
True