Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. A Question on Processor and Memmory

A Question on Processor and Memmory

Scheduled Pinned Locked Moved Hardware & Devices
questioncomhardwaretoolsperformance
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    harsimranb
    wrote on last edited by
    #1

    I am reading Programming Embedded Systems In this book, I came across this claim: The amount of memory required can also affect the processor selection. In general, the register width of a processor establishes the upper limit of the amount of memory it can access (e.g., a 16-bit address register can address only 64 KB (216 ) memory locations). [*] [*] The narrower the register width, the more likely it is that the processor employs tricks such as multiple address spaces to support more memory. There are still embedded systems that do the job with a few hundred bytes. However, several thousand bytes is a more likely minimum, even on an 8-bit processor. THis really didn't make any sense to me. Can anyone shed some light on this?

    "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson "Why is it drug addicts and computer afficionados are both called users?" - Clifford Stoll

    D P 2 Replies Last reply
    0
    • H harsimranb

      I am reading Programming Embedded Systems In this book, I came across this claim: The amount of memory required can also affect the processor selection. In general, the register width of a processor establishes the upper limit of the amount of memory it can access (e.g., a 16-bit address register can address only 64 KB (216 ) memory locations). [*] [*] The narrower the register width, the more likely it is that the processor employs tricks such as multiple address spaces to support more memory. There are still embedded systems that do the job with a few hundred bytes. However, several thousand bytes is a more likely minimum, even on an 8-bit processor. THis really didn't make any sense to me. Can anyone shed some light on this?

      "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson "Why is it drug addicts and computer afficionados are both called users?" - Clifford Stoll

      D Offline
      D Offline
      Dr Walt Fair PE
      wrote on last edited by
      #2

      What part do you need clarified? In a typical general purpose CPU, the number of bits in a register determines how much memory a CPU can address, since a memory address must be able to fit in the register. An 8-bit register can hold values from 0x00 to 0xFF and can only directly address 256 memory addresses. A 16-bit register can hold values from 0x0000 to 0xFFFF and can access memory addresses in that range, which is 64 KB. In some CPUs they use tricks to get around that limitation, such as memory paging, where you somehow use more than one register to access banks of memory. For example, they might use one register to select the particular bank of memory, then another register to select the memory address within that bank. In other cases they get away from von Neumann architecture and use Harvard architecture, where program and data memory are in separate banks, so you can effectively access a full bank for your program code and another full bank for the data.

      CQ de W5ALT

      Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

      1 Reply Last reply
      0
      • H harsimranb

        I am reading Programming Embedded Systems In this book, I came across this claim: The amount of memory required can also affect the processor selection. In general, the register width of a processor establishes the upper limit of the amount of memory it can access (e.g., a 16-bit address register can address only 64 KB (216 ) memory locations). [*] [*] The narrower the register width, the more likely it is that the processor employs tricks such as multiple address spaces to support more memory. There are still embedded systems that do the job with a few hundred bytes. However, several thousand bytes is a more likely minimum, even on an 8-bit processor. THis really didn't make any sense to me. Can anyone shed some light on this?

        "The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." - Ted Nelson "Why is it drug addicts and computer afficionados are both called users?" - Clifford Stoll

        P Offline
        P Offline
        Peter_in_2780
        wrote on last edited by
        #3

        Consider it a history lesson from last century!

        Software rusts. Simon Stephenson, ca 1994.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups