[Self-study] Segment address and offset address

To learn to decipher, I have read the compilation by myself, and I may not understand it properly. Please correct me! The video is [Rookie and Crazy Compilation Series VIP Training Tutorial]

Starting address : You can set any one...as long as you can find the address you are looking for within the range: (The author said, I didn't read the book!!)

Memory storage unit number = starting address + offset address ; (when the computer looks for an address, it seems that it cannot directly find an address, generally an integer starting address + offset address is the memory address, such as 10000H as the starting address and 0004H as the offset. The address to look for is 10004H, where H is hexadecimal, and the maximum address that a starting address can reach is {for example, the starting address is 10000H and the maximum reach is 1FFFFH})

 

Segment address [that is, remove a 0 from the end of the starting address] Segment address and offset address are represented by four-digit hexadecimal numbers! !

Memory storage unit number = segment address (end + 0) + offset address

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325053292&siteId=291194637