Advertisement
carlsondc

memory.x

Dec 29th, 2011
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. MEMORY {
  2. sfr : ORIGIN = 0x0000, LENGTH = 0x0010 /* END=0x0010, size 16 */
  3. peripheral_8bit : ORIGIN = 0x0010, LENGTH = 0x00f0 /* END=0x0100, size 240 */
  4. peripheral_16bit : ORIGIN = 0x0100, LENGTH = 0x0100 /* END=0x0200, size 256 */
  5. ram (wx) : ORIGIN = 0x0200, LENGTH = 0x0800 /* END=0x0a00, size 2K */
  6. infomem : ORIGIN = 0x1000, LENGTH = 0x0100 /* END=0x1100, size 256 */
  7. infod : ORIGIN = 0x1000, LENGTH = 0x0040 /* END=0x1040, size 64 */
  8. infoc : ORIGIN = 0x1040, LENGTH = 0x0040 /* END=0x1080, size 64 */
  9. infob : ORIGIN = 0x1080, LENGTH = 0x0040 /* END=0x10c0, size 64 */
  10. infoa : ORIGIN = 0x10c0, LENGTH = 0x0040 /* END=0x1100, size 64 */
  11. rom (rx) : ORIGIN = 0xc000, LENGTH = 0x3fde /* END=0xffde, size 16350 */
  12. bslskey : ORIGIN = 0xffde, LENGTH = 0x0002 /* END=0xffe0, size 2*/
  13. vectors : ORIGIN = 0xffe0, LENGTH = 0x0020 /* END=0x10000, size 32 */
  14. /* Remaining banks are absent */
  15. bsl : ORIGIN = 0x0000, LENGTH = 0x0000
  16. far_rom : ORIGIN = 0x00000000, LENGTH = 0x00000000
  17. }
  18. REGION_ALIAS("REGION_TEXT", rom);
  19. REGION_ALIAS("REGION_DATA", ram);
  20. REGION_ALIAS("REGION_FAR_ROM", far_rom);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement