Regarding 8086 microprocessor assembly code

Thread Starter

TDY

Joined Feb 9, 2009
1
Anyone know how to write the code of N! in assembly language for 8086 microprocessor ? or and hints ?

Thanks for replying :)
 

RiJoRI

Joined Aug 15, 2007
536
-- Get the Ketman assembler - it's very helpful in doing '86 assembly code (single stepping, register mods, etc.)

-- Write out the steps of generating n!, then translate it into assembler, using Ketman to help debug.

-- Don't forget to limit the size of n. Calculating n! for 65537 is a LOT different from calculating it for 3!

--Rich
 
Top