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] - Rev 864

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

        .globl  _isatty
        .globl  __isatty
        
_isatty:
__isatty:
         prepare  #0x14
         movea.w  -0x12[fp],[-sp]
        push      #0x5401
         push     [ap]
         call     _ioctl,[sp]
        add.w     #0xc,sp
         test.w   r0
         jge      ret1
         mov.w    #0x0,r0
         dispose
         ret      #0x0
ret1:    mov.w    #0x1,r0
        dispose
        ret     #0

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

powered by: WebSVN 2.1.0

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