l2_loop.s 271 B

12345678910111213141516171819202122232425262728
  1. # mach: bfin
  2. .include "testutils.inc"
  3. start
  4. p0=10;
  5. loadsym i0, foo;
  6. R2 = i0;
  7. r0.l = 0x5678;
  8. r0.h = 0x1234;
  9. lsetup(lstart, lend) lc0=p0;
  10. lstart:
  11. [i0++] = r0;
  12. lend:
  13. [i0++] = r0;
  14. r0=i0;
  15. R0 = R0 - R2;
  16. dbga(r0.l, 0x0050);
  17. pass
  18. .data
  19. foo:
  20. .space (0x100)