Preview

Ac from Store

Good Essays
Open Document
Open Document
743 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Ac from Store
3.1 The hypothetical machine of figure 3.4 also has two I/O instructions: 0011 = Load AC from I/O 0111 = Store AC to I/O

In these cases, the 12-bit address identifies a particular I/O device. Show the program execution (using the format of Figure 3.5) for the following program: 1. Load AC from device 5. 2. Add contents of memory location 940. 3. Store AC to device 6.
Assume that the next value retrieved from device 5 is 3 and that location 940 contains a value of 2.

[pic]

3.4 Consider a hypothetical microprocessor generating a 16-bit address (for example, assume that the program counter and the address registers are 16-bits wide) and having a 16-bit data bus.

a. What is the maximum memory address space that the process can access directly if it is connected to a 16-bit memory?

In this case, it can address 216 slots of memory. If each memory location has 16-bits then the amount of space that can be accessed directly is 216 x 2 bytes = 128 Kbytes.

b. What is the maximum memory address space that the process can access directly if it is connected to a 8-bit memory? It can address 28 slots of memory. If each memory location has 8-bits then the amount of space that can be accessed directly is 216 x 1 byte = 64 Kbytes.

c. What architectural features will allow this microprocessor to access a separate “I/O space?”

Separate I/O instructions are needed (opcodes), whose execution will generate reads and writes to the I/O devices. A separate line for I/O could be an answer as well.

d. If an input and an output instruction can specify an 8-bit I/O port number, how many 8-bit ports can the microprocessor support? How many 16-bit I/O ports? Explain.

For 8-bit port number, it can support 28 = 256 ports. For a 16-bit port number it should support the same amount since the instruction specifies an 8-bit port number. For those who might have misunderstood the question thinking that the instruction

You May Also Find These Documents Helpful

  • Good Essays

    1 Which statements are true concerning the shared memory buffering used by an Ethernet switch? (Choose two.)…

    • 2145 Words
    • 9 Pages
    Good Essays
  • Good Essays

    The operating system occupies low memory, starting with memory address 0. Directly afterwards is system control information, then the various resident operating system…

    • 7085 Words
    • 29 Pages
    Good Essays
  • Satisfactory Essays

    SD1230 Lab 1

    • 239 Words
    • 2 Pages

    1. What is the highest number that can be stored in a byte? – 8 bytes as 11111111 or 255 in decimal.…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1330 Unit 3 Assignment 1

    • 2019 Words
    • 9 Pages

    + 0 + 0 0 0 + 0+ 1 1 0 0 8 + 4 + 0 + 0= 140 Address Classes • There are 5 different…

    • 2019 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    A user has opened a calculator application, typed the numbers 123456789, and then done some math problem using this number. Which of the following determines, in part, what bits the computer stores in RAM to represent the number 123456789?…

    • 957 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Nt1210 Chapter 1 Review

    • 1315 Words
    • 6 Pages

    7. A user has opened a calculator application, typed the numbers 123456789, and then done some math problem using this number. Which of the following determine, in part, what bits the computer store in RAM to represent the number123456789?…

    • 1315 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    CHAPTER3 REVEIW

    • 527 Words
    • 3 Pages

    7. Which of the following determines, in part, what bits the computer stores in RAM to represent the number 123456789?…

    • 527 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    7. A user has opened a calculator application, typed the numbers 123456789, and then done some math problem using this number. Which of the following determines, in part, what bits the computer stores in RAM to represent the number 123456789?…

    • 856 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Lab6 7 8 9

    • 425 Words
    • 2 Pages

    Is what is used to represent in the form of a binary number for the address bus.…

    • 425 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    BCA SEM I / BCA 1040 / Unit 1 Logic Design Self Assessment Questions 1.2 1. Decimal means base __________. 2. The decimal value of the bit pattern 11111111 is _________. 3.…

    • 4533 Words
    • 19 Pages
    Satisfactory Essays
  • Satisfactory Essays

    POS355 Week 1 Individual

    • 574 Words
    • 2 Pages

    There are several items that are pertinent to memory management such as, basic hardware, the binding of symbolic memory addresses to definite physical addresses and the difference between logical and physical addresses. The most important task that memory management executes is the distribution and collection of memory…

    • 574 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    1. A set associative cache consists of 64 lines or slot divided into four-line sets. Main memory contains 4K blocks of 128 words each. Show the format of main memory addresses.…

    • 1721 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    The operating systems job is managing the memory. The operating system is in charge of bringing this process into main memory (Stallings, 2012). However the processor must deal with references within the program. Branch instructions include an address to reference the order to be executed next. Data reference instructions include the address of the byte or word of data referenced. The processor hardware and operating system software must be able to translate the memory references found in the code of the program into actual physical memory addresses, reflecting the current location of the program in main memory. (Stallings, 2012).…

    • 573 Words
    • 3 Pages
    Good Essays
  • Good Essays

    final exam

    • 1020 Words
    • 5 Pages

    1. TCO (4). A disk drive ____ controls the transfer of data from a motherboard to a disk drive and vice versa. (Points : 2)…

    • 1020 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Intro the Programming

    • 386 Words
    • 5 Pages

    The _______ is the memory address that is saved by the system when a method is called and is the location to which…

    • 386 Words
    • 5 Pages
    Satisfactory Essays

Related Topics