Started: Oct 30 at 21:53
1 0 1 0
1 1 0 0
1 1 1 1
Suppose you then create two instances of this circuit and wire them up as follo has its final input inverted):
What is the output of the circuit if a=0, b=1, c=1?
Assignment Project Exam Help
Question 4 1 pts
Study the following Finite State Machine:
Complete the truth table showing how to compute the next state from the current state:
Where state(1) (and nextState(1)) is the MSB
State(1) State(0) I nextState(1) nextState(0)
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
Suppose the X register is initialised to 0xC338 and the following commands are issued:
What is the value in R2? (Write your answer in decimal)
Question 7 1 pts
ANDI R20, 5
BREQ Destination
The machine code for the BREQ instruction is as follows:
1111 0000 0000 1001
Assume the following register values:
Program counter = 0x001
R20 = 0x09
What is the new value of the PC?
The relevant information for the instruction set is given below:
Question 8 1 pts
Question 10 1 pts
Question 9 1 pts
Consider the following definitions for d1, which represents a 4 byte array of integer values:
d1: .byte 0, 1, 2, 3Assignment Project Exam
Help
(1st element of the array for d1 has the value 0, 2nd element of the array for d1 has the value 1, 4th element of the array has the value
If d1 is located in address 0x0626, what is the value of the second element of
instructions? (Write your answer in Decimal)
An AVR assembly program defines the following variables and labels:
.section .data
D1: .byte 1, 4
D2: .byte 7, 9, 7
If the address of D1 is 0x43, what is the address of D2? (Write your answer in Decimal)
Question 11 1 pts
Assignment Project Exam Help
What is the decimal value (base 10) held in R9 after the following sequence of
MOV R9, R18
SUB R18, R9
Question 14 1 pts
Saved at 18:54
Submit Quiz Assignment Project Exam
Help
Add



