84PCE:Syscalls:021DC0: Difference between revisions
From WikiTI
Jump to navigationJump to search
No edit summary |
Undo revision 11135 by MateoConLechuga (talk) |
||
| Line 1: | Line 1: | ||
[[Category:84PCE:Syscalls:By Name|SwapHLEndian]] | [[Category:84PCE:Syscalls:By Name|SwapHLEndian]] | ||
[[Category:84PCE:Syscalls:By Address| | [[Category:84PCE:Syscalls:By Address|021DC0 - SwapHLEndian]] | ||
== Synopsis == | == Synopsis == | ||
'''Hypothesized Official Name:''' SwapHLEndian | '''Hypothesized Official Name:''' SwapHLEndian | ||
'''Syscall Address:''' | '''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 === | === Inputs === | ||
HL - value | |||
=== Outputs === | === Outputs === | ||
HL = LH | |||
=== Destroys === | === Destroys === | ||
* | * None | ||
Latest revision as of 21: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