rmi.s 270 B

1234567891011121314151617181920
  1. #include "em_abs.h"
  2. .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
  3. .define .rmi
  4. ! $Id$
  5. .rmi:
  6. movl (sp)+,r3
  7. cmpl r0,$4
  8. bneq I1
  9. movl (sp)+,r2
  10. movl (sp)+,r1
  11. ashq $-32,r0,r0
  12. ediv r2,r0,r1,r0
  13. pushl r0
  14. jmp (r3)
  15. I1:
  16. pushl $EILLINS
  17. jmp .fat