extramm256.s 186 B

1234567891011
  1. ; to be included by crt*.s files
  2. ;
  3. ; enable external ACCESS
  4. ;
  5. XMCRA = 0x74
  6. ldi R16,0x80 ; extern RAM enable
  7. ldi R17,FRAM
  8. sbrs R17,0
  9. ori R16,0x04 ; wait state
  10. sts XMCRA,R16