Assembly language. I am using masm32. Let's say I have ax = 100h. How do I print the value of ax on command line. Thanks
Asked
Active
Viewed 939 times
0
-
possible duplicate of [Simple way to print value of a register in x86 assembly.](http://stackoverflow.com/questions/2709042/simple-way-to-print-value-of-a-register-in-x86-assembly) – Greg Hewgill Jul 04 '11 at 04:58
-
http://stackoverflow.com/questions/2709042/simple-way-to-print-value-of-a-register-in-x86-assembly – Madhur Ahuja Jul 04 '11 at 02:50
1 Answers
0
If you are using the official MASM32 package then it has a bunch of console related stuff already included, all you have to do is reference masm32.lib and call the appropriate function. The info for all this is included in the package and you will already have a local copy, you just have to read the right .chm file.
This MASM32 forum post may help point you in the right direction.