Z80Assembly.CP Method
Overloads
CP(ValueAt<Z80Assembly.RegisterHL>)
public static Opcode CP(ValueAt<Z80Assembly.RegisterHL> valueAtRegisterHL);
View source
Parameters
Returns
Opcode
CP(ReadOnlySpan<Z80Assembly.RegisterHL>)
public static Opcode CP(ReadOnlySpan<Z80Assembly.RegisterHL> valueAtRegisterHL);
View source
Parameters
Returns
Opcode
CP(ValueAt<RegisterWithOffset<Z80Assembly.RegisterIX>>)
public static Opcode CP(ValueAt<RegisterWithOffset<Z80Assembly.RegisterIX>> offset);
View source
Parameters
Returns
Opcode
CP(ReadOnlySpan<RegisterWithOffset<Z80Assembly.RegisterIX>>)
public static Opcode CP(ReadOnlySpan<RegisterWithOffset<Z80Assembly.RegisterIX>> offset);
View source
Parameters
Returns
Opcode
CP(ValueAt<RegisterWithOffset<Z80Assembly.RegisterIY>>)
public static Opcode CP(ValueAt<RegisterWithOffset<Z80Assembly.RegisterIY>> offset);
View source
Parameters
Returns
Opcode
CP(ReadOnlySpan<RegisterWithOffset<Z80Assembly.RegisterIY>>)
public static Opcode CP(ReadOnlySpan<RegisterWithOffset<Z80Assembly.RegisterIY>> offset);
View source
Parameters
Returns
Opcode
CP(Z80Assembly.RegisterA)
public static Opcode CP(Z80Assembly.RegisterA registerA);
View source
Parameters
Returns
Opcode
CP(Z80Assembly.RegisterB)
public static Opcode CP(Z80Assembly.RegisterB registerB);
View source
Parameters
Returns
Opcode
CP(Z80Assembly.RegisterC)
public static Opcode CP(Z80Assembly.RegisterC registerC);
View source
Parameters
Returns
Opcode
CP(Z80Assembly.RegisterD)
public static Opcode CP(Z80Assembly.RegisterD registerD);
View source
Parameters
Returns
Opcode
CP(Z80Assembly.RegisterE)
public static Opcode CP(Z80Assembly.RegisterE registerE);
View source
Parameters
Returns
Opcode
CP(Z80Assembly.RegisterH)
public static Opcode CP(Z80Assembly.RegisterH registerH);
View source
Parameters
Returns
Opcode
CP(Z80Assembly.RegisterIXH)
public static Opcode CP(Z80Assembly.RegisterIXH registerIXH);
View source
Parameters
Returns
Opcode
CP(Z80Assembly.RegisterIXL)
public static Opcode CP(Z80Assembly.RegisterIXL registerIXL);
View source
Parameters
Returns
Opcode
CP(Z80Assembly.RegisterIYH)
public static Opcode CP(Z80Assembly.RegisterIYH registerIYH);
View source
Parameters
Returns
Opcode
CP(Z80Assembly.RegisterIYL)
public static Opcode CP(Z80Assembly.RegisterIYL registerIYL);
View source
Parameters
Returns
Opcode
CP(Z80Assembly.RegisterL)
public static Opcode CP(Z80Assembly.RegisterL registerL);
View source
Parameters
Returns
Opcode
CP(ReferenceOrByte)
CP NN — Compare. Subtracts the operand from A to set the flags, discarding the result.
public static Opcode CP(ReferenceOrByte value);
View source
Parameters
| Name |
Type |
Description |
value |
ReferenceOrByte |
The byte value, or a reference to a label supplying it. |
Returns
Opcode
7 T-states.