cff.s 238 B

1234567891011121314151617181920212223
  1. .define .cff
  2. .sect .text
  3. .sect .rom
  4. .sect .data
  5. .sect .bss
  6. .sect .text
  7. .sect .text
  8. .cff : cmpd 4(sp), 8(sp)
  9. beq 1f
  10. cmpd 4, 4(sp)
  11. beq 4f
  12. cmpd 8, 4(sp)
  13. beq 8f
  14. 1:
  15. ret 8
  16. 4:
  17. movlf 12(sp),16(sp)
  18. ret 12
  19. 8:
  20. movfl 12(sp), 8(sp)
  21. ret 4