Computer Experts Needed (Questions)

thilankat

Member
Sep 18, 2006
1,118
8
0
1. the word-addressable memory unit of a computer has 512K words of 32 bits each. the computer has an instruction format with 3 fields:

*opcode
*register address - to cpecify one of 120 registers
*memory address

how large must the address field be?

choose at least one answer

A. 20bits
B. 19bits
C.16bits
D.15bits
E.12bits



2. a certain CPU has an address bus which is 24 bits wide, a data bus which is 32 bits wide and a common register set, whose register length is 32 bits and a byte organised memory. what statement are true???

choose at least one answer

A. CPU word length is 32bits; addressable memory area is 224bytes
B. None of the above
C. CPU word length is 32bits; addressable memory area is 232bytes
D. CPU word length is 24bits; addressable memory area is 224bytes
E. CPU word length is 24bits; addressable memory area is 232bytes

77983995.jpg


58337774.jpg


can anyone help me?????
 

Lalakajee

Well-known member
  • Jun 20, 2007
    3,061
    296
    83
    In my own heart
    1. the word-addressable memory unit of a computer has 512K words of 32 bits each. the computer has an instruction format with 3 fields:

    *opcode
    *register address - to cpecify one of 120 registers
    *memory address

    how large must the address field be?

    choose at least one answer

    A. 20bits
    B. 19bits
    C.16bits
    D.15bits
    E.12bits



    2. a certain CPU has an address bus which is 24 bits wide, a data bus which is 32 bits wide and a common register set, whose register length is 32 bits and a byte organised memory. what statement are true???

    choose at least one answer

    A. CPU word length is 32bits; addressable memory area is 224bytes
    B. None of the above
    C. CPU word length is 32bits; addressable memory area is 232bytes
    D. CPU word length is 24bits; addressable memory area is 224bytes
    E. CPU word length is 24bits; addressable memory area is 232bytes

    77983995.jpg


    58337774.jpg


    can anyone help me?????


    512K means there are 512*1024 = 524288 (2^19) memory locations in memory unit, each 4 bytes (32 bits).
    Therefore databus width is equal to 32 bits.
    Address bus width 19bits (Note that the power of 2 is here!!:yes:)

    In other words we can say that register width 32 bits, memory address field width 19 bits and register adddress field width 7 bits. (120 approximately 2^7)

    Now we have,
    Total register width (IR) = 32 bits
    Address field width = 19bits
    register address field width?? = 32-(19+7)=6bits

    Verify what we did:nerd:
    Address bits = 9 ---> 2^19 = 524288 (can access all memory locations)
    Register address bits = 7 ---> 2^7 =128 (can access all 120 register + additional 8)
    opcode bits ---> 6 2^6=64 (can define different 64 instrunctions for this CPU.)
     

    thilankat

    Member
    Sep 18, 2006
    1,118
    8
    0
    512K means there are 512*1024 = 524288 (2^19) memory locations in memory unit, each 4 bytes (32 bits).
    Therefore databus width is equal to 32 bits.
    Address bus width 19bits (Note that the power of 2 is here!!:yes:)

    In other words we can say that register width 32 bits, memory address field width 19 bits and register adddress field width 7 bits. (120 approximately 2^7)

    Now we have,
    Total register width (IR) = 32 bits
    Address field width = 19bits
    register address field width?? = 32-(19+7)=6bits

    Verify what we did:nerd:
    Address bits = 9 ---> 2^19 = 524288 (can access all memory locations)
    Register address bits = 7 ---> 2^7 =128 (can access all 120 register + additional 8)
    opcode bits ---> 6 2^6=64 (can define different 64 instrunctions for this CPU.)

    thanks machan.....yantham athi....
     

    Lalakajee

    Well-known member
  • Jun 20, 2007
    3,061
    296
    83
    In my own heart
    2. a certain CPU has an address bus which is 24 bits wide, a data bus which is 32 bits wide and a common register set, whose register length is 32 bits and a byte organised memory. what statement are true???

    choose at least one answer

    A. CPU word length is 32bits; addressable memory area is 224bytes
    B. None of the above
    C. CPU word length is 32bits; addressable memory area is 232bytes
    D. CPU word length is 24bits; addressable memory area is 224bytes
    E. CPU word length is 24bits; addressable memory area is 232bytes


    Below definitions are from wikipedia:
    An address bus is a computer bus (a series of lines connecting two or more devices) that is used to specify a physical address.

    In computing, word is a term for the natural unit of data used by a particular computer design. A word is simply a fixed sized group of bits that are handled together by the system. The number of bits in a word (the word size or word length) is an important characteristic of computer architecture.

    The size of a word is reflected in many aspects of a computer's structure and operation; the majority of the registers in the computer are usually word sized and the amount of data transferred between the processing part computer and the memory system, in a single operation, is most often a word. The largest possible address size, used to designate a location in memory, is typically a hardware word (in other words, the full-sized natural word of the processor, as opposed to any other definition used on the platform).

    Modern computers usually have a word size of 16, 32 or 64 bits but many other sizes have been used, including 8, 9, 12, 18, 24, 36, 39, 40, 48 and 60 bits. The slab is an example of a system with an earlier word size. Several of the earliest computers used the decimal base rather than binary, typically having a word size of 10 or 12 decimal digits, and some early computers had no fixed word length at all.

    The size of a word can sometimes differ from the expected due to backward compatibility with earlier computers. If multiple compatible variations or a family of processors share a common architecture and instruction set but differ in their word sizes, their documentation and software may become notationally complex to accommodate the difference

    The length of a register is known as the word length of the computer.


    So here we can get rid of the last two options.:)

    I think the answer is B any suggestions!!
     

    thilankat

    Member
    Sep 18, 2006
    1,118
    8
    0
    2. a certain CPU has an address bus which is 24 bits wide, a data bus which is 32 bits wide and a common register set, whose register length is 32 bits and a byte organised memory. what statement are true???

    choose at least one answer

    A. CPU word length is 32bits; addressable memory area is 224bytes
    B. None of the above
    C. CPU word length is 32bits; addressable memory area is 232bytes
    D. CPU word length is 24bits; addressable memory area is 224bytes
    E. CPU word length is 24bits; addressable memory area is 232bytes


    Below definitions are from wikipedia:
    An address bus is a computer bus (a series of lines connecting two or more devices) that is used to specify a physical address.

    In computing, word is a term for the natural unit of data used by a particular computer design. A word is simply a fixed sized group of bits that are handled together by the system. The number of bits in a word (the word size or word length) is an important characteristic of computer architecture.

    The size of a word is reflected in many aspects of a computer's structure and operation; the majority of the registers in the computer are usually word sized and the amount of data transferred between the processing part computer and the memory system, in a single operation, is most often a word. The largest possible address size, used to designate a location in memory, is typically a hardware word (in other words, the full-sized natural word of the processor, as opposed to any other definition used on the platform).

    Modern computers usually have a word size of 16, 32 or 64 bits but many other sizes have been used, including 8, 9, 12, 18, 24, 36, 39, 40, 48 and 60 bits. The slab is an example of a system with an earlier word size. Several of the earliest computers used the decimal base rather than binary, typically having a word size of 10 or 12 decimal digits, and some early computers had no fixed word length at all.

    The size of a word can sometimes differ from the expected due to backward compatibility with earlier computers. If multiple compatible variations or a family of processors share a common architecture and instruction set but differ in their word sizes, their documentation and software may become notationally complex to accommodate the difference

    The length of a register is known as the word length of the computer.


    So here we can get rid of the last two options.:)

    I think the answer is B any suggestions!!

    thanks machan....