84PCE:Syscalls:021DB4: Difference between revisions

From WikiTI
Jump to navigationJump to search
No edit summary
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 01:03, 1 June 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