84PCE:Syscalls:020138: Difference between revisions

From WikiTI
Jump to navigationJump to search
Created page with "ldhlind_s 020138 - ldhlind_s == Synopsis == '''Hypothesized Official Name:''' ldhlind_s '''Syscall..."
 
No edit summary
Line 7: Line 7:




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


Basically, it is a 16-bit version of:
Basically, it is:
  <nowiki>ld hl,(hl)
  <nowiki> ld hl,(hl)
inc hl
  inc hl</nowiki>
  inc hl</nowiki>
But then clears HLU.


=== Inputs ===
=== Inputs ===

Revision as of 02:16, 5 May 2015

Synopsis

Hypothesized Official Name: ldhlind_s

Syscall Address: 020138h


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

Basically, it is:

 ld hl,(hl)
 inc hl

But then clears HLU.

Inputs

HL - address

Outputs

HL = value at address

Destroys

  • A