|
xlat returns a byte in a string pointed to by ds:bx.
So I don't want ds to have any value that would screw it up.
and to your question, yeah, I wanted the ascii value of one, I am making a procedure that outputs a value in ax as hex. (I have one I made above that does it in binary) (though now that I think about it I wouldn't want twelve to be "12" I would want it to be "C", however, it still doesn't work)
any ideas as to why it isn't working?
Since ax has 12, I would think my Al2Ascii proc would set al to 'C'.
Since bx is pointing to digitTable and C is the 12th byte.
Am I simply thinking wrong?
|