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

From WikiTI
Jump to: navigation, search
(Undo revision 11260 by MateoConLechuga (talk))
 
(3 intermediate revisions by the same user not shown)
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 ===
HL - addend
+
* HL - addend
  
A - addend
+
* A - addend
  
 
=== Outputs ===
 
=== Outputs ===
HL = sum of HL + A
+
* HL = HL + A
  
=== Destroys ===
+
=== Registers Destroyed ===
* None
+
* HL

Latest revision as of 18:03, 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