: good day. pls help me on showing a list of files together with its attributes (i.e., file size, date created/modified, location) on the dos prompt just like typing 'dir' in ms-dos. thanks!
The code below converts a hex DIGIT (0 thru 0Fh) in al to its ascii equivalent, also in al:
cmp al,10 ;CF = 1 iff al < 10
sbb al,69h ;subtract w borrow
das ;now al = ascii(value originally in al)
I hope you find this useful. Do note that it's only for a DIGIT.