Difference between revisions of "84PCE:Syscalls:020138"

From WikiTI
Jump to: navigation, search
(Created page with "ldhlind_s 020138 - ldhlind_s == Synopsis == '''Hypothesized Official Name:''' ldhlind_s '''Syscall...")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:84PCE:Syscalls:By Name|ldhlind_s]]
+
[[Category:84PCE:Syscalls:By Name|LoadHLInd_s]]
[[Category:84PCE:Syscalls:By Address|020138 - ldhlind_s]]
+
[[Category:84PCE:Syscalls:By Address|020138 - LoadHLInd_s]]
 
== Synopsis ==
 
== Synopsis ==
'''Hypothesized Official Name:''' ldhlind_s
+
'''Hypothesized Official Name:''' LoadHLInd_s
  
 
'''Syscall Address:''' 020138h
 
'''Syscall Address:''' 020138h
  
 
+
This indirectly loads the 16-bit value located at hl into hl, and post increments once.
This indirectly loads the 16-bit value located at hl into hl, and post increments twice.
+
 
+
Basically, it is a 16-bit version of:
+
<nowiki>ld hl,(hl)
+
inc hl
+
inc hl</nowiki>
+
  
 
=== Inputs ===
 
=== Inputs ===
HL - address
+
* HL - address
  
 
=== Outputs ===
 
=== Outputs ===
HL = value at address
+
* HL = value at address
  
 
=== Destroys ===
 
=== Destroys ===
 
* A
 
* A

Latest revision as of 23:46, 25 May 2016

Synopsis

Hypothesized Official Name: LoadHLInd_s

Syscall Address: 020138h

This indirectly loads the 16-bit value located at hl into hl, and post increments once.

Inputs

  • HL - address

Outputs

  • HL = value at address

Destroys

  • A