minix/lib/i86/em/em_stb.s
2009-11-09 10:26:00 +00:00

16 lines
165 B
ArmAsm

.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