Run the program using step mode put the code inrto the


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.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Run the program using step mode put the code inrto the
Reference No:- TGS01244090

Expected delivery within 24 Hours