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

From WikiTI
Jump to: navigation, search
Line 11: Line 11:
  
 
=== Inputs ===
 
=== Inputs ===
HL - addend
+
* HL - addend
  
A - addend
+
* A - addend
  
 
=== Outputs ===
 
=== Outputs ===
HL = sum of HL + A
+
* HL = HL + A
  
=== Destroys ===
+
=== Registers Destroyed ===
* None
+
* HL

Revision as of 11:37, 31 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 = HL + A

Registers Destroyed

  • HL