GN_Ghn, Convert hexadecimal string to 32 bits integer
Register parameters
RST 20H, DEFW $8409
IN : HL = local source pointer DE = 2, return integer in DEBC DE > 255, return integer at (DE) and (DE)=LSB, (DE+3)=MSB OUT: Fc = 0, success Fc = 1, A = RC_Bdn (bad hexadecimal string) A = RC_Fail (bad destination) A = RC_Hnd (bad handle for stream IX or filter IX) Registers changed after return: A.BCDEHL/IXIY same .F....../.... different
Notes
- GHN stands for Get Hex Number
- API call implemented in OZ 5.0
Related calls
GN_D16, 16bit unsigned divisionÂ
GN_M16, 16bit unsigned multiplicationÂ
GN_D24, 24bit unsigned divisionÂ
GN_M24, 24bit unsigned multiplicationÂ
GN_Gdn, convert an ASCII string to a binary number
GN_Pdn, write number as decimal ASCII string
GN_Phn, convert 32 bits integer to hexadecimal stringÂ