Changeset 101 for trunk/Softwares/Test/Test_024/src/sys/crt0.s
- Timestamp:
- Jan 15, 2009, 6:19:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Softwares/Test/Test_024/src/sys/crt0.s
r100 r101 1 1 /* 2 * Test_02 42 * Test_025 3 3 * 4 4 * end_ko : infinite_loop 5 5 * end_ok : Write in R1 the stop address and stop an data 6 6 * The store in the destination of an jump 7 * start : Test l.jr 7 * start : Test l.jr (no return procedure) 8 8 */ 9 9 … … 19 19 .org 0x0 20 20 _end_ko : 21 l.movhi r1, hi(_tty) 22 l.ori r1, r1, lo(_tty) 23 l.sw 4(r1), r1 /* stop address */ 21 24 _infinite_loop : 22 25 l.j _infinite_loop … … 26 29 l.movhi r1, hi(_tty) 27 30 l.ori r1, r1, lo(_tty) 28 l.sw 4(r1), r 1/* stop address */31 l.sw 4(r1), r0 /* stop address */ 29 32 30 33
Note: See TracChangeset
for help on using the changeset viewer.