ack/mach/vax4/libem/rol.s

18 lines
253 B
ArmAsm
Raw Permalink Normal View History

1985-01-18 14:30:03 +00:00
#include "em_abs.h"
1990-01-12 10:29:26 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.define .rol
1985-01-18 14:30:03 +00:00
1994-06-24 14:02:31 +00:00
! $Id$
1985-01-18 14:30:03 +00:00
.rol:
movl (sp)+,r1
cmpl r0,$4
1990-01-12 10:29:26 +00:00
bneq Ierr
1985-01-18 14:30:03 +00:00
movl (sp)+,r0
rotl r0,(sp),(sp)
jmp (r1)
1990-01-12 10:29:26 +00:00
Ierr:
1985-01-18 14:30:03 +00:00
pushl $EILLINS
jmp .fat