Introduction to high and low in memory addresses and registers

Source: Internet
Author: User

We can assume thatThe memory table is a piece of paper. When I enter aData at the time,Software will open up a memory for usAddress, where the data is stored in the memory table, as this is where the data is written to this address: 0040339C.
Our understanding of the high and low memory tables can be done here is a blank sheet of paper. We take each space as a position, starting from the 0~1000 count, written in the front is the low, for example, write four numbers, from 0~3. The low-to-high level of the game data is from G to E.

After that, we take the data from the memory table and put it in the register, we can compare the register to a bucket, and when we put the data, we must pour the "water" first to the bottom of the water cylinder.
If we take the game from memory and put it in a bucket, the data stored in the bucket will be emag, which is 4D 41 47 (note that each byte is a two 16-binary character)
And the bucket of high and position, presumably everyone will understand, the top of the bucket is high, bucket bottom is low, so emag data is e~g (E is the highest bit G is the lowest bit)


In this way, everyone is clear about the high and low principle (low in D means, high in g)
D G G D
If the memory address data 01 02 03 04 is placed in the register is 04 03 02 01
G D D G
If you put the Register data 04 03 02 01 to the memory address of 01 02 03 04

Data transmission, is to follow the high and low principle, I believe you follow this idea to understand, will be more simple ~ ~

Introduction to high and low in memory addresses and registers

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.