Last change
on this file was
81,
checked in by rosiere, 17 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
881 bytes
|
Line | |
---|
1 | /******************************************** |
---|
2 | * files : asm_000_none.s |
---|
3 | * authors : Rosiere Mathieu |
---|
4 | * date : 2006/06/20 |
---|
5 | ******************************************** |
---|
6 | * input : - |
---|
7 | * output : 1 test OK |
---|
8 | * 0 test KO |
---|
9 | ******************************************** |
---|
10 | * test : |
---|
11 | * warning : instruction ok |
---|
12 | * l.addi |
---|
13 | * l.and |
---|
14 | * l.jal |
---|
15 | * l.jr |
---|
16 | ******************************************** |
---|
17 | */ |
---|
18 | .file "asm_000_none.s" |
---|
19 | .section .text |
---|
20 | .align 4 |
---|
21 | |
---|
22 | .global _asm_000_none |
---|
23 | _asm_000_none : |
---|
24 | /* save context */ |
---|
25 | l.addi r1,r1,0 |
---|
26 | |
---|
27 | /* Return is KO (default)*/ |
---|
28 | l.and r11,r0,r0 |
---|
29 | |
---|
30 | _asm_000_none_ok : |
---|
31 | l.addi r11,r0,1 |
---|
32 | _asm_000_none_ko : |
---|
33 | |
---|
34 | /* load context */ |
---|
35 | l.jr r9 |
---|
36 | l.addi r1,r1,0 |
---|
Note: See
TracBrowser
for help on using the repository browser.