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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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