Difference between revisions of "84PCE:Syscalls:021D7C"
From WikiTI
(→Synopsis) |
|||
Line 9: | Line 9: | ||
=== Inputs === | === Inputs === | ||
− | + | DE - 16-bit signed value | |
=== Outputs === | === Outputs === | ||
− | + | DE - 24-bit signed value | |
=== Destroys === | === Destroys === | ||
− | * | + | * DEU |
Revision as of 11:58, 4 September 2015
Contents
Synopsis
Hypothesized Official Name: SignExtendDE
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
DE - 16-bit signed value
Outputs
DE - 24-bit signed value
Destroys
- DEU