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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [sysvnecv70/] [isatty.S] - Rev 309

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.