@ -125,9 +125,11 @@ ENTRY(_start)
* /
r6 = 1 ( x ) ;
/ * Relocate f r o m w h e r e v e r a r e ( F L A S H / R A M / e t c . . . ) t o t h e h a r d c o d e d
/ * Relocate f r o m w h e r e v e r w e a r e ( F L A S H / R A M / e t c . . . ) t o t h e h a r d c o d e d
* monitor l o c a t i o n i n t h e e n d o f R A M . W e k n o w t h a t m e m c p y ( ) o n l y
* uses r e g i s t e r s , s o i t i s s a f e t o c a l l h e r e .
* uses r e g i s t e r s , s o i t i s s a f e t o c a l l h e r e . N o t e t h a t t h i s o n l y
* copies t o e x t e r n a l m e m o r y . . . w e d o n o t s t a r t e x e c u t i n g o u t o f
* it y e t ( s e e " l o w e r t o 1 5 " b e l o w ) .
* /
serial_ e a r l y _ p u t s ( " R e l o c a t e " ) ;
call _ g e t _ p c ;
@ -172,7 +174,9 @@ ENTRY(_start)
* setting t h e 1 5 h a n d l e r t o " . L e n a b l e _ n e s t e d " , r a i s i n g t h e 1 5
* interrupt, a n d t h e n r e t u r n i n g f r o m t h e h i g h e s t i n t e r r u p t
* level t o t h e d u m m y " j u m p " u n t i l t h e i n t e r r u p t c o n t r o l l e r
* services t h e p e n d i n g 1 5 i n t e r r u p t .
* services t h e p e n d i n g 1 5 i n t e r r u p t . I f e x e c u t i n g o u t o f
* flash, t h e s e s t e p s a l s o c h a n g e s t h e c o d e f l o w f r o m f l a s h
* to e x t e r n a l m e m o r y .
* /
serial_ e a r l y _ p u t s ( " L o w e r t o 1 5 " ) ;
r0 = r7 ;