CS3280 Homework 2; Due: Wednesday, September 17, at beginning of class
1. For each of the following questions, assume that the registers are initialized to the following values
(i.e., each part is independent of the others). Note: NZVC are the condition c
CS3280 Homework 2; Due: Wednesday, February 10, at beginning of class
1. For each of the following questions, assume that the registers are initialized to the following values (i.e.,
each part is independent of the others). Note: NZVC are the condition co
Math 2320
Exam II
1
Name: . ID #: . Section: .
Answer all questions and show all of your work. Answers which are not justied
with appropriate work will receive 0 points. Calculators are permitted, but graphing
calculators are not permitted.
Students who c
*
*
* Name: Steve Vai
* ID: 123456
* Date: 10/30/09
* Lab4
*
* Program description:
* this program will go through an array of 1byte numbers and
* will send each number to a subroutine via callbyvalue in register.
* The subroutine will calculate the 2
CS3280 Homework 4; Due: Monday, October 27, at beginning of class
1. For each of the following questions, assume that the registers are initialized to the following values
(i.e., each part is independent of the others). Give the contents of the registers
CS3280 Homework 5; Due: Wednesday, December 3, at beginning of class
1. For each of the following questions, assume that the registers are initialized to the following values
(i.e., each part is independent of the others). Give the contents of the registe
CS 3280
Midterm Exam
Name:
Page 1
Last,
First
Please give us your student ID: _
Show all work on this exam paper. No notes, or calculators. You may use the Appendix of your book!
Tally Sheet:
Problem
Max Score
1
10
2
25
3
20
4
25
5
20
Total
100
Your Score
CS3280 Homework 4; Due: Friday, November 20, at beginning of class
1. For each of the following questions, assume that the registers are initialized to the following values
(i.e., each part is independent of the others). Give the contents of the registers
CS3280 Homework 3; Due: Wednesday, October 3, at beginning of class
1. For each of the following questions, assume that the registers are initialized to the following values
(i.e., each part is independent of the others). Note: NZVC are the condition code
*
*
* Name: Joe Satriani
* ID:
c1234567
* Date: 02/22/16
* Lab 2
*
* Program description:
*
* This program will calculate the Nth element of the arithmetic sequence
* ELEMENTn+1 = ELEMENTn + DIFF through summation.
*
* Pseudocode:
*
* unsigned int N=10;
*
CS3280 Homework 3; Due: Monday, February 29, at beginning of class
1. For each of the following questions, assume that the registers are initialized to the following values
(i.e., each part is independent of the others). Note: NZVC are the condition codes
*
*
* Name: Weijian Li
* ID: 14172331
* Date: 04/07/2015
* Lab4
*
* Program description:
* This program will calculate the factorial of bytelong mubers stored in a table N (with a $FF sentinel), and will store the factorial in an array NFAC.
* The actual
CS3280 Homework 1 Due: Friday, January 29, at beginning of class
Consider the following two 8bit binary numbers A and B:
A = 1111 1111
B = 1000 0001
1. Assume that A and B are two unsigned binary numbers and an 8bit unsigned adder/subtractor is used
a)
1
Memory System Design
Computer Systems Design and Architecture by V. Heuring and H. Jordan
1997 V. Heuring and H. Jordan
2
The Memory Hierarchy, Cost, and Performance
Some Typical Values:
Component
CPU
Cache
Access Random Random
Capacity,
bytes
Main Mem
CS3280 Homework 2; Due: Wednesday, September 23, at beginning of class
1. Consider the simple processor shown below (AND is a bitwise AND function).
Note: This ALU does NOT provide 2s complement subtraction.
C1 C 0
0 0
IN1 + IN2 > OUT
0 1
IN1 + IN2 > O
Math 2320
Exam I
1
Name: . ID #: . Section: .
Answer all questions and show all of your work. Answers which are not justied
with appropriate work will receive 0 points. Calculators are permitted, but graphing
calculators are not permitted.
Students who ch
CS 3280
Assembly Language and Computer
Organization
MWF 1:00 pm 1:50 pm
Prof. Michael Jurczyk
EBW 121
8848869
Number System Conversion
Decimal, binary, hex (integer only, no fractions)
Decimal Binary:
Number System Conversion
Binary, Hex Decimal :
Binary
*
*
* Name: Joe Satriani
* ID: c1234567
* Date: 10/02/09
* Lab 2
*
* Program description:
*
* This program will multiple NUM1 and NUM2
* by adding NUM1 NUM2times.
*
* Pseudocode:
*
* unsigned int num1, num2 (1byte variables)
* unsigned int result (2byt
CS3280 HW1 Due: September 4, at the beginning of class

Consider the following two 8bit binary numbers A and B:
A = 0011 0000
B = 0011 0001
1. Assume that A and B are two unsigned binary numbers
and an 8bit unsigned adder/subtractor is used
a) Give a
*
*
* Name: Weijian Li
* ID: 14172331
* Date: 04/20/2015
* Lab5
*
* Program description:
* This program will calculate the factorial of bylong numbers stored in a table N(with a $FF sentinel), and will store the factorial in an array NFAC.
* The actual f
*
*
* Name: Yngwie Malmsteen
* ID: c1234567
* Date: 10/09/09
* Lab 3
*
* Program description:
*
* This program will calculate the factorial of N,
* with N a 1byte number and the result variable NFAC
* a 2byte number
*
* Note: just one of many correct im
Stack
temporary storage facility in memory
Advantage: processor automatically allocates/deallocates
space in memory; uses stack pointer (SP)
LIFO (last in ; first out)
Stackrelated instructions:
LDS, STS: load, store SP (LDS used to initialize the stac
*
*
* Name: Kirk Hammett
* ID: 123456
* Date: 11/11/09
* Lab5
*
* Program description:
* this program will go through an array of 1byte numbers and
* will send each number to a subroutine via callbyvalue in register.
* The subroutine will calculate th
CS3280 Homework 3; Due: Wednesday, October 7, at beginning of class
1. For each of the following questions, assume that the registers are initialized to the following values
(i.e., each part is independent of the others). Note: NZVC are the condition code
*
*
* Name: Weijian Li
* ID: 14172331
* Date: 02/21/2015
* Lab2
*
* Program description:
*
* This program will calculate the result of multiplying two 8bit numbers, NUM1 and NUM2, by adding NUM1 to itself NUM2 times.
*
* Pseudocode:
*
* unsigned int RE
CS3280 Homework 5; Due: Monday, April 18, at beginning of class
1. For each of the following questions, assume that the registers are initialized to the following values
(i.e., each part is independent of the others). Give the contents of the registers af
*
*
* Name: Yngwie Malmsteen
* ID:
c1234567
* Date: 03/04/16
* Lab 3
*
* Program description:
*
* This program will calculate the 4byte SUM of the first N elements of
* the arithmetic seuqence ELEMENTn+1 = ELEMENTn + DIFF through summation.
*
* Pseudocod
CS3280 Homework 4; Due: Wednesday, March 22, at beginning of class
Name:
PawPrint ID
_
_
1. For each of the following questions, assume that the registers are initialized to the following values
(i.e., each part is independent of the others). Give the con
*
*
* Name: Kirk Hammett
* ID: 123456
* Date: 04/25/16
* Lab5
*
* Program description:
*
* This program will calculate the sum of the first N elements of
* the arithmetic seuqence ELEMENTn+1 = ELEMENTn + DIFF through summation.
*
* This program will go th
CS3280 Homework 3; Due: Monday, February 27, at beginning of class
1. For each of the following questions, assume that the registers are initialized to the following values
(i.e., each part is independent of the others). Note: NZVC are the condition codes
Stack
temporary storage facility in memory
Advantage: processor automatically allocates/deallocates
space in memory; uses stack pointer (SP)
LIFO (last in ; first out)
Stackrelated instructions:
LDS, STS: load, store SP (LDS used to initialize the stac
CS 3280
Midterm Exam
Name:
Page 1
Last,
First
Please give us your student ID: _
Show all work on this exam paper. No notes, or calculators. You may use the Appendix of your book!
Tally Sheet:
Problem
Max Score
1
10
2
25
3
20
4
25
5
20
Total
100
Your Score