Anonymous

How do I write and run (using appropriate calling program) a near procedure in assembly language that converts an ASCII digit passed to it on AL register to equivalent binary value? The value is returned back on the AL register itself...

2 Answers

Anonymous Profile
Anonymous answered

There seem to be a lot of people on the internet looking for help running a near procedure in assembly
language that converts an ASCII digit!

Is this some sort of exam question or something? What are the reasons it's all over the internet?

Anyway, my research has led me to a couple of answers:

The first was on another Q&A site.

MOV AH,07
INT 21
MOV DL,AL
MOV AH,02
INT 21
INT 20

Another answer lead me to a PDF entitled: Lessons In Electric Circuits

It actually looks like exactly what you need to read.. It's quite indepth, but you can find it here:

www.saylor.org/site/wp-content/uploads/2011/06/CS301-3.4.pdf

Anonymous Profile
Anonymous answered

Write and run (using appropriate calling program) a near procedure in
assembly language that converts an ASCII digit passed to it on AL
register to equivalent binary value. The value is returned back on the AL register itself.

Answer Question

Anonymous