nop.s 291 B

1234567891011121314151617181920
  1. .define .nop
  2. .sect .text
  3. .sect .rom
  4. .sect .data
  5. .sect .bss
  6. .sect .text
  7. .nop:
  8. move.l (.limhp),-(sp)
  9. move.l (.reghp),-(sp)
  10. pea (12, sp)
  11. move.l (hol0),-(sp)
  12. pea (fmt)
  13. jsr (.diagnos)
  14. lea (20, sp), sp
  15. rts
  16. .sect .data
  17. fmt: .asciz "test %d, sp 0x%x, .reghp 0x%x, .limhp 0x%x.\n"
  18. .align 2