Difference between revisions of "84PCE:Syscalls:021DB4"

From WikiTI
Jump to: navigation, search
Line 8: Line 8:
 
Adds the 8-bit value in A to the 24-bit value in HL.
 
Adds the 8-bit value in A to the 24-bit value in HL.
  
Basically an "add a,hl".
+
Basically an "add hl,a".
  
 
=== Inputs ===
 
=== Inputs ===

Revision as of 22:40, 25 May 2016

Synopsis

Hypothesized Official Name: AddHLandA

Syscall Address: 021DB4h

Adds the 8-bit value in A to the 24-bit value in HL.

Basically an "add hl,a".

Inputs

HL - addend

A - addend

Outputs

HL = sum of HL + A

Destroys

  • None