OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [sys/] [sysvnecv70/] [isatty.S] - Blame information for rev 855

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
        .globl  _isatty
2
        .globl  __isatty
3
 
4
_isatty:
5
__isatty:
6
         prepare  #0x14
7
         movea.w  -0x12[fp],[-sp]
8
        push      #0x5401
9
         push     [ap]
10
         call     _ioctl,[sp]
11
        add.w     #0xc,sp
12
         test.w   r0
13
         jge      ret1
14
         mov.w    #0x0,r0
15
         dispose
16
         ret      #0x0
17
ret1:    mov.w    #0x1,r0
18
        dispose
19
        ret     #0

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.