zx-next-dev-guide icon indicating copy to clipboard operation
zx-next-dev-guide copied to clipboard

LSB instead of MSB used in description for "Hardware Interrupt Mode 2"

Open ttahsin-bey opened this issue 1 year ago • 1 comments

Description states "... we assign the LSB of the vector table address to I register.".

The referencing code (which is correct) is loading A with the MSB instead:

	LD A, InterruptVectorTable >> 8
	LD I, A

ttahsin-bey avatar Dec 25 '23 14:12 ttahsin-bey

Thanks, typo in text as you suggested!

tomaz avatar Jan 04 '24 08:01 tomaz