84PCE:Syscalls:021D7C: Difference between revisions
From WikiTI
Jump to navigationJump to search
No edit summary |
|||
| Line 1: | Line 1: | ||
[[Category:84PCE:Syscalls:By Name| | [[Category:84PCE:Syscalls:By Name|SignExtendDE]] | ||
[[Category:84PCE:Syscalls:By Address|021D7C - | [[Category:84PCE:Syscalls:By Address|021D7C - SignExtendDE]] | ||
== Synopsis == | == Synopsis == | ||
'''Hypothesized Official Name:''' SignExtendDE_broken | '''Hypothesized Official Name:''' SignExtendDE_broken | ||
| Line 6: | Line 6: | ||
'''Syscall Address:''' 021D7Ch | '''Syscall Address:''' 021D7Ch | ||
This is | This was originally a broken 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. It is known to work in OS 5.1.0.0110. | ||
=== Inputs === | |||
HL - 16-bit signed value | |||
=== Outputs === | |||
HL - 24-bit signed value | |||
=== Destroys === | |||
* HLU | |||
Revision as of 19:57, 4 September 2015
Synopsis
Hypothesized Official Name: SignExtendDE_broken
Syscall Address: 021D7Ch
This was originally a broken 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. It is known to work in OS 5.1.0.0110.
Inputs
HL - 16-bit signed value
Outputs
HL - 24-bit signed value
Destroys
- HLU