03 November 2017

ARM7TDMI program that computes polynomial

Let's write a program in ARM assembly language that computes the value of a polynomial. A polynomial of degree 2 is an expression of the form a*x**2 + b*x + c, where a, b, and c are constants and x is an input parameter.

13 August 2017

Generate testing data using Python

In a previous article, I talked about generating random data using Python. Let's try to use this capability for a practical purpose: to generate testing data for another program.

06 August 2017

Generating random data using Python

The Python standard library's random module has a randrange function which generates random integers in a range.