KJT_ascii_to_hex_word
Created by: Administrator, Last modification: Fri 31 of Jul, 2009 (22:35 UTC)
- Name
- kjt_ascii_to_hex_word
- Action
- converts text string version of hex number at HL (1 to 4 chars) to actual hex word in DE
- Input Registers
- HL = source text (scans for first non-zero character)
- Output Registers
- DE = result
- A = status
$00 OK $0c Bad chars for hex $1F No chars found
- Trashes
- HL
- Up
- Kernal misc routines, Kernal