cii.s 360 B

1234567891011121314151617181920212223242526
  1. #include "em_abs.h"
  2. .sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
  3. .define .cii
  4. ! $Id$
  5. .cii:
  6. movl (sp)+, r1
  7. movl (sp)+, r0
  8. cmpl (sp), $1
  9. beql Ifrom1
  10. cmpl (sp), $2
  11. beql Ifrom2
  12. cmpl (sp)+, $4
  13. bgtr Ierr
  14. jmp (r1)
  15. Ifrom1:
  16. cvtbw 4(sp), 4(sp)
  17. Ifrom2:
  18. tstl (sp)+
  19. cvtwl (sp), (sp)
  20. jmp (r1)
  21. Ierr:
  22. pushl $EILLINS
  23. jmp .fat