Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 671189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:20:45+00:00 2026-05-14T00:20:45+00:00

I am self studying computer architecture offer at Michigan university. I do not understand

  • 0

I am self studying computer architecture offer at Michigan university. I do not understand why the memory layout for d starts at 312 to 319 instead of 308 http://www.flickr.com/photos/45412920@N03/4442695706/. ( http://www.flickr.com/photos/45412920@N03/4442695706/ )
Maybe I did not understanding the Golden rule specified http://www.flickr.com/photos/45412920@N03/4441916461/sizes/l/ here( http://www.flickr.com/photos/45412920@N03/4441916461/sizes/l/ ) well.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T00:20:46+00:00Added an answer on May 14, 2026 at 12:20 am

    The second link shows that MIPS cannot pack variables, therefore the addresses they take up must fall on word boundaries.

    if short is half word aligned, it takes up two bytes, int, is word aligned so it takes up 4 bytes, double must be doubleword aligned so it takes up 8 bytes.

    In order to align at these places..

    A zero in the Least Significant bit (LSB) would indicate every other or every 2 bytes (half word aligned), 2 Zeros indicates every 4th byte, and 3 zeros every 8th byte.

    Address (4 LSBs)
        XXX0 - half word aligned (2 bytes)
        XX00 - Word aligned (4 bytes)
        X000 - Double word aligned (8 bytes)
    

    The double must be double word aligned so it can not start at 308 (100110100) because it is only word aligned (2 LSBs = 0) it must start at the next double word alignment 312 (100111000)

    [Addr]   [Binary]    [Alignment]  
    300      100101100   Word, Half-Word
    301      100101101
    302      100101110   Half-Word
    303      100101111   
    304      100110000   Double-Word, Word, Half-Word
    305      100110001
    306      100110010   Half-Word
    307      100110011 
    308      100110100   Word, Half-Word
    309      100110101   
    310      100110110   Half-Word
    311      100110111  
    312      100111000   Double-Word, Word, Half-Word
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently self-studying C for mastering an university project. In that project we have
i am self-studying asp.net and was trying some small projects to help understand the
I am doing self-studying of operating systems. Tanenbaum in his book modern operating systems
I'm stuck with this. I'm self studying assenbler and translating some basics instructions. But
is self not completely interchangeable with this in C++? It seems to work with
I'm currently self-studying C# in my free time and thought of a little project
I'm studying object literals and self-executing functions in Javascript. Looking through some YUI code
I'm studying for a M$ certificate. I use the 'self-paced' Training Kit (book). I
I have just started self-studying the Dragon book of Compiler Design. I am working
I am self studying C++ and I was thinking of a simple program to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.