Question
Part 1: The Little Man computer in the textbook uses decimal numbers for data words and instructions. This makes it easier to explain to students
Part 1: The "Little Man" computer in the textbook uses decimal numbers for data words and instructions. This makes it easier to explain to students who do not know about binary numbers. (Unlike yourselves!) Real computers use binary devices and binary numbers.
The Little Man computer can have ten operation codes (0-9), can address 10010 words of storage (0-99), and can hold in memory values up to 999. If binary numbers are to replace decimal numbers, what must the minimum number of bits in each word of the binary LMC be? (This isn't hard. How many bits for ten op codes? OK, how many bits for 100 addresses? How long must an instruction word be? That takes care of the instruction part. Now, can a word that is the sum of those operation code and address bit sizes hold the number 999? OK. You're done.)
Part 2: What change must be made to the binary LMC you described in Part 1 if 32 operation codes are needed? Explain why.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Part 1 Determining the Minimum Number of Bits for the Binary LMC The question is about converting the Little Man Computer LMC system which uses decima...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started