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

From WikiTI
Jump to: navigation, search
(Inputs)
(Undo revision 11260 by MateoConLechuga (talk))
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:84PCE:Syscalls:By Name|addAHL]]
+
[[Category:84PCE:Syscalls:By Name|AddHLandA]]
[[Category:84PCE:Syscalls:By Address|021DB4 - addAHL]]
+
[[Category:84PCE:Syscalls:By Address|021DB4 - AddHLandA]]
 
== Synopsis ==
 
== Synopsis ==
'''Hypothesized Official Name:''' addAHL
+
'''Hypothesized Official Name:''' AddHLandA
  
 
'''Syscall Address:''' 021DB4h
 
'''Syscall Address:''' 021DB4h
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 17: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