84PCE:Syscalls:021D80: Difference between revisions
From WikiTI
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
This was originally a buggy call, and still is in OS 5.0.0.0089 (and others, perchance?) But after sending in information, TI did an amazing job and fixed this call. It basically performs a sign extension on a 16bit HL to 24bit HL. | This was originally a buggy call, and still is in OS 5.0.0.0089 (and others, perchance?) But after sending in information, TI did an amazing job and fixed this call. It basically performs a sign extension on a 16bit HL to 24bit HL. | ||
=== Inputs === | |||
HL - 16-bit signed value | |||
=== Outputs === | |||
HL - 24-bit signed value | |||
=== Destroys === | |||
* HLU | |||
Revision as of 19:56, 4 September 2015
Synopsis
Hypothesized Official Name: SignExtendHL
Syscall Address: 021D80h
This was originally a buggy call, and still is in OS 5.0.0.0089 (and others, perchance?) But after sending in information, TI did an amazing job and fixed this call. It basically performs a sign extension on a 16bit HL to 24bit HL.
Inputs
HL - 16-bit signed value
Outputs
HL - 24-bit signed value
Destroys
- HLU