> ] IN F,(C) is not available in either of the processors.
> This instruction actually exists on the Z80 and therefore also on the
Z380.
> Quote from the Z80 instruction table:
>
> Mnemonic: IN r,(C)
> Sym Operation: r <- (C)
> Opcode: 11 101 101
> 01 r 000
> r stands for register:
> 000: B
> 001: C
> 010: D
> 011: E
> 100: H
> 101: L
> 110: (HL)
> Remark: if r = 110, only the flags will be affected
>
> Hence, the R800 instruction IN F,(C) is the equivalent of the Z80
instruction
> IN (HL),(C).
You're right. IN (HL),(C) is the undocumented instruction. All other IN
r,(C) registers also set the flags according to the result. So I think the
IN F,(C) is just an instruction to ONLY set the flags, and not influencing
any other register.
~Grauw
--
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<
email me: [EMAIL PROTECTED] or ICQ: 10196372
visit my homepage at http://grauw.blehq.org/
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<
****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED]
and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in
the body (not the subject) of the message.
Problems? contact [EMAIL PROTECTED]
More information on MSX can be found in the following places:
The MSX faq: http://www.faq.msxnet.org/
The MSX newsgroup: comp.sys.msx
The MSX IRC channel: #MSX on Undernet
****