as: Z80 Opcodes

1 
1 9.56.5 Opcodes
1 --------------
1 
1 In line with common practice, Z80 mnemonics are used for both the Z80
1 and the R800.
1 
1    In many instructions it is possible to use one of the half index
1 registers ('ixl','ixh','iyl','iyh') in stead of an 8-bit general purpose
1 register.  This yields instructions that are documented on the R800 and
1 undocumented on the Z80.  Similarly 'in f,(c)' is documented on the R800
1 and undocumented on the Z80.
1 
1    The assembler also supports the following undocumented
1 Z80-instructions, that have not been adopted in the R800 instruction
1 set:
1 'out (c),0'
1      Sends zero to the port pointed to by register c.
1 
1 'sli M'
1      Equivalent to 'M = (M<<1)+1', the operand M can be any operand that
1      is valid for 'sla'.  One can use 'sll' as a synonym for 'sli'.
1 
1 'OP (ix+D), R'
1      This is equivalent to
1 
1           ld R, (ix+D)
1           OPC R
1           ld (ix+D), R
1 
1      The operation 'OPC' may be any of 'res B,', 'set B,', 'rl', 'rlc',
1      'rr', 'rrc', 'sla', 'sli', 'sra' and 'srl', and the register 'R'
1      may be any of 'a', 'b', 'c', 'd', 'e', 'h' and 'l'.
1 
1 'OPC (iy+D), R'
1      As above, but with 'iy' instead of 'ix'.
1 
1    The web site at <http://www.z80.info> is a good starting place to
1 find more information on programming the Z80.
1