The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Insert as much additional space between questions as needed to accomodate answers
Â
CMIS 310 Section 7380 (Spring 2016) HOMEWORK #3Feel free to insert as much additional space between questions as needed to accommodateyour work and answers.1.How many bits are required to address a 6M X 32 main memory ifa)Main memory is byte addressable?______b) Main memory is word addressable? ______2.A digital computer has a memory unit with 30 bits per word.The instruction setconsists of 257 different operations.All instructions have an operation code part(opcode), and an address part (allowing for only one address).Each instruction isstored in one word of memory.a)How many bits are needed for the opcode? ________b) How many bits are left for the address part of the instruction?_______c)What is the maximum allowable size for memory?_________3.Write a MARIE program to add up a set of numbers.The first input will be thenumber of numbers to be added. You may assume that this input is positive.Subsequent inputs will be the numbers to be added.These may be positive,negative, or zero. When all numbers have been added, output the sum.Example: if the inputs are 5, 2, -3, 6, 27, -1, then the output should be 36.USING THE ASSEMBLER/SIMULATOR PROVIDED IN THIS CLASS,assemble and test your program. Provide a text file with your assembly code andmachine code, and a screen shot of the simulator at the completion of theprogram.4..1
Attachments: