Annotation of coherent/b/kernel/ldrv/ffbyte.s, revision 1.1

1.1     ! root        1: / $Header: /kernel/kersrc/ldrv/RCS/ffbyte.s,v 1.1 92/07/17 15:27:50 bin Exp Locker: bin $
        !             2: /
        !             3: /      The  information  contained herein  is a trade secret  of INETCO
        !             4: /      Systems, and is confidential information.   It is provided under
        !             5: /      a license agreement,  and may be copied or disclosed  only under
        !             6: /      the terms of that agreement.   Any reproduction or disclosure of
        !             7: /      this  material  without  the express  written  authorization  of
        !             8: /      INETCO Systems or persuant to the license agreement is unlawful.
        !             9: /
        !            10: /      Copyright (c) 1986
        !            11: /      An unpublished work by INETCO Systems, Ltd.
        !            12: /      All rights reserved.
        !            13: /
        !            14: / $Log:        ffbyte.s,v $
        !            15: / Revision 1.1  92/07/17  15:27:50  bin
        !            16: / Initial revision
        !            17: /
        !            18: / Revision 1.1 88/03/24  16:30:28      src
        !            19: / Initial revision
        !            20: / 
        !            21: /
        !            22: ////////
        !            23: 
        !            24: ////////
        !            25: /
        !            26: / ffbyte( fp )         -- fetch far byte
        !            27: / int far * fp;
        !            28: /
        !            29: ////////
        !            30: 
        !            31:        .globl  ffbyte_
        !            32: 
        !            33: ffbyte_:push   es              / ffbyte( fp )
        !            34:        push    di              / register char far * fp;       /* ES:DI */
        !            35:        push    bp              / {
        !            36:        mov     bp, sp          /
        !            37:        les     di, 8(bp)       /
        !            38:                                /
        !            39:        sub     ax, ax          /
        !            40:        movb    al, es:(di)     /       return( *fp );
        !            41:                                /
        !            42:        pop     bp              / }
        !            43:        pop     di
        !            44:        pop     es
        !            45:        ret

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.