ack/plat/msdos386/libsys/sys_rawlseek.s

21 lines
293 B
ArmAsm
Raw Normal View History

#
! $Source$
! $State$
! $Revision$
#include "libsysasm.h"
! Move the current file position for a file descriptor.
.define __sys_rawlseek
__sys_rawlseek:
movb ah, 0x42
mov ebx, esp
mov edx, 8(ebx)
mov ecx, edx
shr ecx, 16
movb al, 12(ebx)
mov ebx, 4(ebx)
int 0x21
jmp .sys_dxaxret