Interruption


Results 1 to 15 of 15

Thread: Interruption

Threaded View

  1. #10
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    When it's not needed, I think it is.
    What if the platform didn't support interrupts?
    I think using an interrupt when it isn't needed is forming a bad habit.
    The loop is happening anyway, and I have one less label in my code.
    It's less spaghetti than the original which doesn't run in one single loop.
    An interrupt would add more spaghetti in the generated asm to goto 0x04.

    This is a simple program, but as it grew, you might need an interrupt for something else.

    EDIT; ps I edited to edit the program, but haven't actually run it.
    if it has any issue, it still offers a solution.
    Last edited by Art; - 31st December 2009 at 00:25.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts