OSDN Git Service

Step 10 added.
[kozos-expbrd/kozos_expbrd.git] / firm / junk / 03 / os / startup.s
1         .h8300h\r
2         .section .text\r
3         .global _start\r
4 #       .type   _start,@function\r
5 _start:\r
6         mov.l   #_bootstack,sp\r
7         jsr     @_main\r
8 \r
9 1:\r
10         bra     1b\r
11 \r
12         .global _dispatch\r
13 #       .type   _dispatch,@function\r
14 _dispatch:\r
15         mov.l   @er0,er7\r
16         mov.l   @er7+,er0\r
17         mov.l   @er7+,er1\r
18         mov.l   @er7+,er2\r
19         mov.l   @er7+,er3\r
20         mov.l   @er7+,er4\r
21         mov.l   @er7+,er5\r
22         mov.l   @er7+,er6\r
23         rte\r