84PCE:Syscalls:020138: Difference between revisions

From WikiTI
Jump to navigationJump to search
No edit summary
No edit summary
 
(2 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 once.
Basically, it is:
<nowiki> ld hl,(hl)
inc hl</nowiki>
But then clears HLU.


=== Inputs ===
=== Inputs ===
HL - address
* HL - address


=== Outputs ===
=== Outputs ===
HL = value at address
* HL = value at address


=== Destroys ===
=== Destroys ===
* A
* A

Latest revision as of 07:46, 26 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