Article: AMD's Mobile Strategy
By: Michael S (already5chosen.delete@this.yahoo.com), December 21, 2011 1:55 am
Room: Moderated Discussions
Exophase (exophase@gmail.com) on 12/20/11 wrote:
---------------------------
>Ignoring any argument about whether or not something is publicly available if you
>have to register on a website to download it:
>
>I'm not going to post the document, but a quick google search shows someone posted it on this forum:
>
>http://board.flatassembler.net/topic.php?p=137802
>
>See the last post.
Thanks.
Load Single Register (pc-relative, literal load):
The pc-relative address from which to load is encoded as a 19-bit signed word offset which is shifted left by 2 and
added to the program counter, giving access to any word-aligned location within ±1MiB of the PC.
That should be good enough for 99% of static "C" variables. Still could be insufficient for globals.
As to "Scaled, 12-bit, unsigned immediate offset", it seem to promote rather unusual strategy for sorting fields within big structures: bytes first, then half-words, then words. That's the opposite to what I accustomed to.
---------------------------
>Ignoring any argument about whether or not something is publicly available if you
>have to register on a website to download it:
>
>I'm not going to post the document, but a quick google search shows someone posted it on this forum:
>
>http://board.flatassembler.net/topic.php?p=137802
>
>See the last post.
Thanks.
Load Single Register (pc-relative, literal load):
The pc-relative address from which to load is encoded as a 19-bit signed word offset which is shifted left by 2 and
added to the program counter, giving access to any word-aligned location within ±1MiB of the PC.
That should be good enough for 99% of static "C" variables. Still could be insufficient for globals.
As to "Scaled, 12-bit, unsigned immediate offset", it seem to promote rather unusual strategy for sorting fields within big structures: bytes first, then half-words, then words. That's the opposite to what I accustomed to.