9.54.5 Opcodes

In line with common practice, Z80 mnemonics are used for both the Z80 and the R800.

In many instructions it is possible to use one of the half index registers (‘ixl
’,‘ixh
’,‘iyl
’,‘iyh
’) in stead of an 8-bit general purpose register. This yields instructions that are documented on the R800 and undocumented on the Z80. Similarly in f,(c)
is documented on the R800 and undocumented on the Z80.

The assembler also supports the following undocumented Z80-instructions, that have not been adopted in the R800 instruction set:

out (c),0

Sends zero to the port pointed to by register c.

slim

Equivalent to m= (m<<1)+1
, the operand m
can be any operand that is valid for ‘sla
’. One can use ‘sll
’ as a synonym for ‘sli
’.