Question 2: Working with Logic Gates Given the below Function: F(x, y, z) = (x + y). (y + z) + xyz a- Draw the combinational circuit that directly implements the above Boolean expression. b- For what values of x, y, and z the output (F) will be 0? Justify your answer using a truth table.

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter10: Application Development
Section: Chapter Questions
Problem 5VE
icon
Related questions
Question
100%
Question 2: Working with Logic Gates
Given the below Function: F(x, y, z) = (x + y). (y + z) + xyz
%3D
a- Draw the combinational circuit that directly implements the above Boolean
expression.
b- For what values of x, y, and z the output (F) will be 0? Justify your answer
using a truth table.
Transcribed Image Text:Question 2: Working with Logic Gates Given the below Function: F(x, y, z) = (x + y). (y + z) + xyz %3D a- Draw the combinational circuit that directly implements the above Boolean expression. b- For what values of x, y, and z the output (F) will be 0? Justify your answer using a truth table.
Question 1: Working with MARIE
a) Write a MARIE assembly program that implements the below Pseudocode:
z=0
Input x
If x=0
X=x+3
Input y
If y>0
z=x*y
Print z
For example, if the entered values are 9 and 5, then the output should be 45.
N.B: You should include the MARIE code in your Answer (not a screenshot!), with an
explanation of your code.
Example:
Add One
/Add 1 to AC
b) Add a screenshot of the simulation, showing the result (A screenshot of the MARIE
Simulator window after running the program).
Instructions:
Use “ORG" instruction to start your program at address equivalent to 51210.
Use your last university ID two numbers to input the values of x and y.
For example, if your ID is 2215161678205, then you will use the number 0 for x and 5 for y.
Do not forget to change the representation of the Input and Output windows in the simulator
to Decimal.
You should include the proper labels and directives at the end of your program.
Transcribed Image Text:Question 1: Working with MARIE a) Write a MARIE assembly program that implements the below Pseudocode: z=0 Input x If x=0 X=x+3 Input y If y>0 z=x*y Print z For example, if the entered values are 9 and 5, then the output should be 45. N.B: You should include the MARIE code in your Answer (not a screenshot!), with an explanation of your code. Example: Add One /Add 1 to AC b) Add a screenshot of the simulation, showing the result (A screenshot of the MARIE Simulator window after running the program). Instructions: Use “ORG" instruction to start your program at address equivalent to 51210. Use your last university ID two numbers to input the values of x and y. For example, if your ID is 2215161678205, then you will use the number 0 for x and 5 for y. Do not forget to change the representation of the Input and Output windows in the simulator to Decimal. You should include the proper labels and directives at the end of your program.
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Fundamentals of Boolean Algebra and Digital Logics
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning