Assembly Pi calculator

In 2002 I was studying for the SPIM (simulator for MIPS32 assembly language) section of the exam, and decided to take on a challenge.  I implemented a big-num calculation of 10000 digits of Pi in MIPS-32 assembly language.  It uses a series expansion of the faster-converging form of the Gregory-Leibniz series for pi, and works with decimal bignums that store one decimal digit per byte.


ċ
picalc.s
(15k)
Graham Poulter,
17 Mar 2010, 14:01
Comments