Sum-of-products representation

Assignment Help Basic Computer Science
Reference no: EM13934766

Logic assignment
C.1 Assume that X consists of 3 bitCs, a, b, and c. Write four logic functions that are true if and only if
A  X contains only one 1
B  X contains an even number of 1s
C  X when interpreted as an unsigned binary number is greater than 4
D  X when interpreted as a signed (two's complement) number is negative

C.2 Assume that X consists of 3 bits, x2 x1 x0, and Y consists of 3 bits, y2 y1 y0. Write logic functions that are true if and only if
 X < Y, where X and Y are thought of as unsigned binary numbers
 X > Y, where X and Y are thought of as signed (two's complement) numbers
 X = Y

C.3 Show the sum-of-products representation for the following truth table for D.

Inputs OUTPUT
A B C D

0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 0

K-Maps
For each of the following create the Karnaugh map and show the maximum groupings and
Minimal logic equation.
A) f(w,x,y,z)= Σ( 0, 1, 5, 7, 15, 14,8, 10 )
Β) g(w,x,y,z)=Σ( 0, 1, 2, 4, 5, 7, 12, 13, 15, 8, 10).

Show truth tables for the following functions.
C) wx + xz + y'
D) w'x'yz + w'xyz + w'x'yz' +w'xyz'

Assembly Language
Using the 2 class programs as templates write an assembler program to do the following:
Set up data areas as follows:
X a word area with value 4567 decimal
Y a word area with value C4A8
XX a byte area with value 56 hex
YY a byte area with value 255 decimal
Z a byte area with your Name as its contents. ex. 'Joe Jones'
Write the code to do the following:
Move hex 27E9 into BX reg
Move decimal 102 into BL reg
Move hex D4 into BH reg
Move contents of contents X into CX register and Y into AX reg.
write the instruction ADD AX, CX
Write the instructions INC CX and DEC BX
Write the instruction ADD AH, XX
Write the instruction SUB BL, YY
Write the instruction ADD BH, 27h
Write the instruction MOV AX, -255
Write the instruction ADD AX, AX
Write the instruction ADD AL, 255
Write the code necessary to display your name from the storage area Z.
Run the program using step mode. Put the code inrto the online assignment area.
Also indicate the new contents of the register affected by each instruction. For this you need to use the step mode.
These reults can be included as a comment using a semicolon ; after the actual instruction as was done in the class assignment.

Reference no: EM13934766

Questions Cloud

Two argument integers and returns the operation : The over all program should ask user for two integer numbers (a, b) and target arithmetic operation (+,-,*./) and will print the result of the operation with a comment if the result produced is correct or not.
Providing a historical context and legal framework : Select and discuss 3 landmark legal cases (from the list above) that involve Asian Pacific Americans between 1885- 1990. Discuss each one, providing a historical context and legal framework from which to understand these cases impact on Asian Pac..
Identify entity and relationships that implied by geocaching : Your task is to identify the entities and relationships that are implied by the geocaching cache page (see below). In effect, you will be analysing the structure of the database that supports the site.
Using datagrid in an application : Update the field named fldQuestionDescription.
Sum-of-products representation : Run the program using step mode. Put the code inrto the online assignment area. Also indicate the new contents of the register affected by each instruction. For this you need to use the step mode.
Describe arbitration and discuss advantages to litigation : Describe mediation and discuss its advantages to litigation. Describe two other forms of alternate dispute resolution and discuss their advantages to litigation.
Why would you inherit from a string class : How would you use Integers and Strings in an application?
Compute the bonds expected rate of return : Smart technologies $1000 par value, 14 year bonds pay 9% interest annually. the bond is selling at $1,00 . your required rate of return is 10%. Compute the bond's expected rate of return. Determine the value of the bond to u, given you are required r..
Nutritional plan that is aimed at reducing weight : Fad diet is a nutritional plan that is aimed at reducing weight and health management (DeBruyne, Pinna and Whitney 184).

Reviews

Write a Review

Basic Computer Science Questions & Answers

  What is rule of thumb as to when a system should be replaced

All systems eventually grow old and become obsolete. What is the rule of thumb as to when a system should be replaced?

  Decryption algorithm: reverse the encryption algorithm

Decryption algorithm: Reverse the encryption algorithm. The permutation, however, should (circular) shift the bit pattern by 1 bit to the right

  Networking media

What are the most important components to evaluate when you look for a new computer? Defend your choice.

  Explaining laws dealing with computer crimes

Write and explain three recent laws dealing with computer crimes.

  A store gives a discount for senior citizens

A store gives a discount for senior citizens

  Presentation logic component of a client-server system

What tasks are carried out by the presentation logic component of a client-server system? What tasks are carried out by the storage logic component of a client-server system?

  Problem regarding virus-spyware risk assessment

A successful virus, spyware program, or exploit would be a disaster for any government agency that is providing critical services to the United States and its citizens; therefore, your team must specifically outline the steps involved in the infor..

  Distinguish online learning with classroom learning

Write the exploratory essay in which you distinguish online learning with classroom (on-ground) learning. Your estimation may incorporate preparation time.

  How often are network standards reviewed

How often are network standards reviewed? What category of UTP cabling is the minimum for a telephone cable?

  Write program reads in the length and width of a rectangular

Write a program that reads in the length and width of a rectangular yard (in meters) and the length and width of a rectangular house (in meters) placed in the yard. Your program should compute the time (in minutes) required to cut the lawn around ..

  What content is represents the content of arr

Consider the following code segment,int[] arr = {1, 2, 3, 4, 5, 6, 7}; for (int k = 3; k

  Difference between the short-run and the long-run

Explain the difference between the short-run and the long-run with regard to firm behavior. What are fixed and variable factors of production, and how does this distinction relate to the short-run, long-run distinction? How does the concept of sun..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd