home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 309_01 / startup.h < prev    next >
Text File  |  1990-03-20  |  463b  |  29 lines

  1. /* header.h  used to generate startup code for C6809 */
  2.  
  3. #ifdef AS9
  4. #asm
  5.    ORG  $fffe
  6.    FDB  $c000
  7.    ORG  $c000
  8.    lds  #$7000
  9.    jmp  main
  10. #endasm
  11. #else
  12. #asm
  13.    .globl  main
  14.    .globl  ccdiv
  15.    .globl  ccmult
  16.    .globl  ccswitch
  17.  
  18.    .area   RESET    (ABS,OVR)
  19.    .org    0hfffe       ; reset vector
  20.    .dw     0hc000
  21.  
  22.    .area   RAMDATA  (REL,CON)
  23.  
  24.    .area   ROMCODE  (REL,CON)
  25.    lds     #0h7000
  26.    jmp     main
  27. #endasm
  28. #endif
  29.