loke,
@loke@functional.cafe avatar

@etchedpixels Your post made me go and read the documentation for the instruction set. I found this nice summary: http://users.rcn.com/crfriend/museum/doco/DG/Nova/base-instr.html

Now, after reading it, I have one question you might be able to explain.

It says the following:

Hence, location 1 must contain the start address of the interrupt handler. When an interrupt happens, further interrupts are disabled until they are explicitly re-enabled. A return from the interrupt is performed by jumping indirectly through location zero (i.e. JMP @0).

Earlier in the document, it's explained that interrupts are enabled using the INTEN instruction, so if I read the correctly, the end of the interrupt handler should be an INTEN followed by JMP @0.

But what happens if there is another interrupt after enabling it, but before the jump is done?

Does the jmp implicitly reenable interrupts?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • retrocomputing
  • Durango
  • magazineikmin
  • mdbf
  • thenastyranch
  • khanakhh
  • rosin
  • Youngstown
  • ethstaker
  • slotface
  • modclub
  • kavyap
  • DreamBathrooms
  • everett
  • ngwrru68w68
  • JUstTest
  • InstantRegret
  • tacticalgear
  • GTA5RPClips
  • cubers
  • normalnudes
  • osvaldo12
  • tester
  • anitta
  • cisconetworking
  • megavids
  • Leos
  • provamag3
  • lostlight
  • All magazines