Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 21st, 2012  |  syntax: None  |  size: 0.98 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. MEMORY {
  2.         ZP:             start =    $0, size =  $100, type = rw, define = yes;
  3.         PSTACK:         start =  $100, size =  $100, type = rw, define = yes;
  4.         RSTACK:         start =  $200, size =  $100, type = rw, define = yes;
  5.         BUSOUT:         start =  $300, size =  $100, type = rw, define = yes;
  6.         BUSIN:          start =  $400, size =  $100, type = rw, define = yes;
  7.         RAM:            start =  $500, size = $FA00, type = rw, define = yes;
  8. }
  9.  
  10. SEGMENTS {
  11.         ZEROPAGE:       load = ZP,  type = zp,  define   = yes;
  12.         STARTUP:        load = RAM, type = ro;
  13.         INIT:           load = RAM, type = ro, optional = yes;
  14.         CODE:           load = RAM, type = ro;
  15.         RODATA:         load = RAM, type = rw, define = yes;
  16.         BSS:            load = RAM, type = bss, define = yes;
  17. }
  18.  
  19. FEATURES {
  20.         CONDES:         segment = STARTUP,
  21.                         type    = constructor,
  22.                         label   = __CONSTRUCTOR_TABLE__,
  23.                         count   = __CONSTRUCTOR_COUNT__;
  24.         CONDES:         segment = STARTUP,
  25.                         type    = destructor,
  26.                         label   = __DESTRUCTOR_TABLE__,
  27.                         count   = __DESTRUCTOR_COUNT__;
  28. }
  29.  
  30. SYMBOLS {
  31.         __STACKSIZE__:  value = $0200, weak = yes;
  32. }