diff --git a/src/elib/convert.asm b/src/elib/convert.asm new file mode 100644 index 0000000..85860e7 --- /dev/null +++ b/src/elib/convert.asm @@ -0,0 +1,15 @@ +HEX_OUT: db "0x0000", ASCII_END + +; SR to convert hex values into ASCII strings +; This SR is going to mess up some registers +; since it fills the register with the desired +; pointer toward the string. +hexToASCII: + mov cx, 0 ; incrementor + + hexloop: + + + return: + mov bx, HEX_OUT + ret