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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [sysvnecv70/] [isatty.s] - Blame information for rev 40

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

Line No. Rev Author Line
1 39 lampret
        .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.