I tried creating a program that computes for a factorial of a number. So assuming that the user has entered a SINGLE digit number like '5' the output would be '120'. Every input is a hexadecimal so I converted the input '5' hexadecimal into it's decimal version and there were no problems with that. So using 'loop' and 'mul' instruction i was able to get the factorial 120(decimal).. ok so here's the problem, how to I display 120 on the screen?

Recommended Answers

All 2 Replies

Thanks man it fucking worked.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.