Skip to content

Z80Assembly.ADC Method ​

Overloads ​

NameDescription
ADC(Z80Assembly.RegisterA, ReferenceOrByte)
ADC(Z80Assembly.RegisterHL, Z80Assembly.RegisterBC)
ADC(Z80Assembly.RegisterHL, Z80Assembly.RegisterDE)
ADC(Z80Assembly.RegisterHL, Z80Assembly.RegisterHL)
ADC(Z80Assembly.RegisterHL, Z80Assembly.RegisterSP)
ADC(Z80Assembly.RegisterA, ValueAt<Z80Assembly.RegisterHL>)
ADC(Z80Assembly.RegisterA, ReadOnlySpan<Z80Assembly.RegisterHL>)
ADC(Z80Assembly.RegisterA, ValueAt<RegisterWithOffset<Z80Assembly.RegisterIX>>)
ADC(Z80Assembly.RegisterA, ReadOnlySpan<RegisterWithOffset<Z80Assembly.RegisterIX>>)
ADC(Z80Assembly.RegisterA, ValueAt<RegisterWithOffset<Z80Assembly.RegisterIY>>)
ADC(Z80Assembly.RegisterA, ReadOnlySpan<RegisterWithOffset<Z80Assembly.RegisterIY>>)
ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterA)
ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterB)
ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterC)
ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterD)
ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterE)
ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterH)
ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterIXH)
ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterIXL)
ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterIYH)
ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterIYL)
ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterL)

ADC(Z80Assembly.RegisterA, ReferenceOrByte) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, ReferenceOrByte value);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
valueReferenceOrByte

Returns ​

Opcode

ADC(Z80Assembly.RegisterHL, Z80Assembly.RegisterBC) ​

c#
public static Opcode ADC(Z80Assembly.RegisterHL registerHL, Z80Assembly.RegisterBC registerBC);

View source

Parameters ​

NameTypeDescription
registerHLZ80Assembly.RegisterHL
registerBCZ80Assembly.RegisterBC

Returns ​

Opcode

ADC(Z80Assembly.RegisterHL, Z80Assembly.RegisterDE) ​

c#
public static Opcode ADC(Z80Assembly.RegisterHL registerHL, Z80Assembly.RegisterDE registerDE);

View source

Parameters ​

NameTypeDescription
registerHLZ80Assembly.RegisterHL
registerDEZ80Assembly.RegisterDE

Returns ​

Opcode

ADC(Z80Assembly.RegisterHL, Z80Assembly.RegisterHL) ​

c#
public static Opcode ADC(Z80Assembly.RegisterHL registerHL1, Z80Assembly.RegisterHL registerHL2);

View source

Parameters ​

NameTypeDescription
registerHL1Z80Assembly.RegisterHL
registerHL2Z80Assembly.RegisterHL

Returns ​

Opcode

ADC(Z80Assembly.RegisterHL, Z80Assembly.RegisterSP) ​

c#
public static Opcode ADC(Z80Assembly.RegisterHL registerHL, Z80Assembly.RegisterSP registerSP);

View source

Parameters ​

NameTypeDescription
registerHLZ80Assembly.RegisterHL
registerSPZ80Assembly.RegisterSP

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, ValueAt<Z80Assembly.RegisterHL>) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, ValueAt<Z80Assembly.RegisterHL> valueAtRegisterHL);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
valueAtRegisterHLValueAt<Z80Assembly.RegisterHL>

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, ReadOnlySpan<Z80Assembly.RegisterHL>) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, ReadOnlySpan<Z80Assembly.RegisterHL> valueAtRegisterHL);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
valueAtRegisterHLReadOnlySpan<Z80Assembly.RegisterHL>

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, ValueAt<RegisterWithOffset<Z80Assembly.RegisterIX>>) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, ValueAt<RegisterWithOffset<Z80Assembly.RegisterIX>> offset);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
offsetValueAt<RegisterWithOffset<Z80Assembly.RegisterIX>>

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, ReadOnlySpan<RegisterWithOffset<Z80Assembly.RegisterIX>>) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, ReadOnlySpan<RegisterWithOffset<Z80Assembly.RegisterIX>> offset);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
offsetReadOnlySpan<RegisterWithOffset<Z80Assembly.RegisterIX>>

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, ValueAt<RegisterWithOffset<Z80Assembly.RegisterIY>>) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, ValueAt<RegisterWithOffset<Z80Assembly.RegisterIY>> offset);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
offsetValueAt<RegisterWithOffset<Z80Assembly.RegisterIY>>

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, ReadOnlySpan<RegisterWithOffset<Z80Assembly.RegisterIY>>) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, ReadOnlySpan<RegisterWithOffset<Z80Assembly.RegisterIY>> offset);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
offsetReadOnlySpan<RegisterWithOffset<Z80Assembly.RegisterIY>>

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterA) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA1, Z80Assembly.RegisterA registerA2);

View source

Parameters ​

NameTypeDescription
registerA1Z80Assembly.RegisterA
registerA2Z80Assembly.RegisterA

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterB) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, Z80Assembly.RegisterB registerB);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
registerBZ80Assembly.RegisterB

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterC) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, Z80Assembly.RegisterC registerC);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
registerCZ80Assembly.RegisterC

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterD) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, Z80Assembly.RegisterD registerD);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
registerDZ80Assembly.RegisterD

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterE) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, Z80Assembly.RegisterE registerE);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
registerEZ80Assembly.RegisterE

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterH) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, Z80Assembly.RegisterH registerH);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
registerHZ80Assembly.RegisterH

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterIXH) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, Z80Assembly.RegisterIXH registerIXH);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
registerIXHZ80Assembly.RegisterIXH

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterIXL) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, Z80Assembly.RegisterIXL registerIXL);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
registerIXLZ80Assembly.RegisterIXL

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterIYH) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, Z80Assembly.RegisterIYH registerIYH);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
registerIYHZ80Assembly.RegisterIYH

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterIYL) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, Z80Assembly.RegisterIYL registerIYL);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
registerIYLZ80Assembly.RegisterIYL

Returns ​

Opcode

ADC(Z80Assembly.RegisterA, Z80Assembly.RegisterL) ​

c#
public static Opcode ADC(Z80Assembly.RegisterA registerA, Z80Assembly.RegisterL registerL);

View source

Parameters ​

NameTypeDescription
registerAZ80Assembly.RegisterA
registerLZ80Assembly.RegisterL

Returns ​

Opcode