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

From WikiTI
Jump to: navigation, search
(Undo revision 11135 by MateoConLechuga (talk))
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 14:20, 25 May 2016

Synopsis

Hypothesized Official Name: SwapHLEndian

Syscall Address: 021DC0h

Sets HL to LH. In other words, it loads the value in H to L, and the value in L to H.

Useful for converting between little-endian and big-endian.

Inputs

HL - value

Outputs

HL = LH

Destroys

  • None