source: trunk/libs/newlib/src/newlib/libc/sys/a29khif/_isatty.S

Last change on this file was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 330 bytes
Line 
1        .file "isatty.c"
2        .sect .lit,lit
3gcc2_compiled.:
4        .text
5        .align 4
6        .global __isatty
7        .word 0x30000
8__isatty:
9        sub gr1,gr1,16
10        asgeu V_SPILL,gr1,gr126
11        add lr1,gr1,28
12        const gr116,__iostat
13        consth gr116,__iostat
14        calli lr0,gr116
15        sll lr2,lr6,0
16        sll gr96,gr96,30
17        add gr1,gr1,16
18        srl gr96,gr96,31
19        jmpi lr0
20        asleu V_FILL,lr1,gr127
Note: See TracBrowser for help on using the repository browser.