Printing digits
Write a MARIE program to print the digits from 1 to 9 and debug it using the Marie Simulator.
You can download the simulator from the authors web site or my copy of the Marie Simulator
Notes:
1. You must use a loop in your program.
2. Your
Computer Organization and Architecture
Assignment 5; due Oct 19, 2015
4.5
a.
b.
4M 2 bytes or 23 bits
4M words which equals 22 bits
4.10
a.
b.
c.
d.
e.
f.
g.
64 (32 rows of 2 columns)
2
19 bits or 219
32
24 bits 0r 221
Bank 0
Bank 14
4.12
a.
b.
c.
d.
e.
7
Computer Organization and Architecture
Assignment 3; due Sept 9, 2015
2.27
a. Largest Positive: 0.11112 x 23 = 111.12 = 7.5
Smallest Positive: 0.12 x 2-4 = .000012 = 0.03125
b. A bias of 4.
2.32
b + (a + c)
= b + [1.0 x 29+ 1.0 x 21]
= b + [1.0 x 29+ .000
17. Write the following code segment in MARIE assembly language:
X := 1;
while
X < 10 do
X := X + 1;
endwhile;
Ans.
Load
Store
X
/Initialize X
Load
X
/Load loop constant
Subt
Ten
/Compare X to 10
Skip
Cond 000
/If AC<0 (X is less than 10), continue loop
J
Computer Organization and Architecture
Assignment 1; due August 31, 2015
1.2
a) 1,000
b) 1,000,000
c) 1,000,000
d) 1,000
e) 1,000
f) 1,000,000
g) 1,000
h) 1,000
i) 20,000,000
j) 2,000,000
1.11 a) The processing unit performs all of the arithmetic and logi
IT Applications Presentation Outline
Resource: Ch. 9 of Introduction to Business
Create a 5- to 7-slide Microsoft PowerPoint presentation to teach your fellow students about
the following IT applications. Include detailed speaker notes and examples.
Slide