minix/lib/i86/em/em_stb.s

17 lines
165 B
ArmAsm
Raw Normal View History

2005-04-21 16:53:53 +02:00
.define ___stb
.text
! Routine for copying structs.
___stb:
mov bx,sp
push si
push di
mov cx,2(bx)
mov si,4(bx)
mov di,6(bx)
rep
movb
pop di
pop si
ret