Changeset 101 for trunk/Softwares/Test/Test_016/src
- Timestamp:
- Jan 15, 2009, 6:19:08 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Softwares/Test/Test_016/src/sys/crt0.s
r100 r101 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 … … 46 49 /* Test result */ 47 50 _test_1_loop : 48 l.sf ner1, r249 l.bnf _test_1_ end51 l.sfeq r1, r2 52 l.bnf _test_1_loop 50 53 l.addi r1, r1, 1 51 54 _test_1_end : … … 60 63 /* Test result */ 61 64 _test_2_loop : 62 l.sf eqr1, r263 l.bnf _test_2_ loop65 l.sfne r1, r2 66 l.bnf _test_2_end 64 67 l.addi r1, r1, 1 68 l.j _test_2_loop 69 l.nop 65 70 _test_2_end : 66 71
Note: See TracChangeset
for help on using the changeset viewer.