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

From WikiTI
Jump to: navigation, search
Line 1: Line 1:
[[Category:84PCE:Syscalls:By Name|AddHLandA]]
+
[[Category:84PCE:Syscalls:By Name|ArcChk]] [[Category:84PCE:Syscalls:By Address|022040 - ArcChk]]
[[Category:84PCE:Syscalls:By Address|021DB4 - AddHLandA]]
+
 
== Synopsis ==
 
== Synopsis ==
'''Hypothesized Official Name:''' AddHLandA
+
'''Hypothesized Official Name:''' ArcChk
  
'''Syscall Address:''' 021DB4h
+
'''Syscall Address:''' 022040h
  
Adds the 8-bit value in A to the 24-bit value in HL.
+
Stores the amount of free archive space into [[84PCE:RAM:D02655|tempFreeArc]].
 
+
Basically an "add hl,a".
+
  
 
=== Inputs ===
 
=== Inputs ===
* HL - addend
+
* None
 
+
* A - addend
+
  
 
=== Outputs ===
 
=== Outputs ===
* HL = HL + A
+
* [[84PCE:RAM:D02655|tempFreeArc]] holds the size of the available archive space
  
 
=== Registers Destroyed ===
 
=== Registers Destroyed ===
* HL
+
* All

Revision as of 18:03, 31 May 2016

Synopsis

Hypothesized Official Name: ArcChk

Syscall Address: 022040h

Stores the amount of free archive space into tempFreeArc.

Inputs

  • None

Outputs

  • tempFreeArc holds the size of the available archive space

Registers Destroyed

  • All