> As far as I know, RETI and RET work exactly the same in all respects,
> and are different only in the exact instruction bytes, and the number
> of T cycles they consume. My guess is, that RETI simply serves to
> INDICATE that it ends an interrupt-routine, rather than a normal
> subroutine. For the rest, it's my belief that these 2 instructions
> can fully replace each other (so that you can use a RET wherever a
> RETI is used, and vice versa). There IS a difference between RETN
> (with NON-maskable interrupts) on the one hand, and RET/RETI on the
> other hand, but did anyone ever find a difference between RET and
> RETI (other than instruction bytes and T cycles)?
RETI is used to signal I/O device, that the interrupt routine has been
completed. Anyway as long as I know, MSX computers does not have any I/O
device, that needs this information. If I'm correct it is used only by Z80
family devices.
More info can be found from : An introduction to Microcomputers: Volume 2
,_____.
_=_=_=_=!_MSX_!=_=_=_=_=_=_=_=_,
! A1ST ~--- - I ( o o o o o o )i
/--------------------------------`,
/ .::::::::::::::::::::::;::; ::::.,
/ :::.:.:.:::____________:::::!. -=- `,
~======================================
NYYRIKKI : [EMAIL PROTECTED]
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED] and put
in the body (not subject) "unsubscribe msx [EMAIL PROTECTED]" (without the
quotes :-) Problems? contact [EMAIL PROTECTED] (www.stack.nl/~wiebe/mailinglist/)
****