HP 9800 Series Desktop Computers - HPL Description

HPL Description

In HPL instead of variables such as A1 and J2, there were numbered registers r1, r2, up to r199999. This HPL program for the HP 9825 generates a list of prime numbers:

0: fxd 0 1: prt 1 2: prt 2 3: 1→P 4: for C=2 to 1000000 5: P+2→P 6: for N=3 to P/3 7: if int(P/N)*N = P; gto 4 8: next N 9: prt P 10: next C

Another unique characteristic of HPL was the right arrow (shown with ASCII characters as ->, however it was a single character). This arrow was known as the gazinta (slang for "goes into"). The statement 1→P would be pronounced "One gazinta P".

Read more about this topic:  HP 9800 Series Desktop Computers

Famous quotes containing the word description:

    I was here first introduced to Joe.... He was a good-looking Indian, twenty-four years old, apparently of unmixed blood, short and stout, with a broad face and reddish complexion, and eyes, methinks, narrower and more turned up at the outer corners than ours, answering to the description of his race. Besides his underclothing, he wore a red flannel shirt, woolen pants, and a black Kossuth hat, the ordinary dress of the lumberman, and, to a considerable extent, of the Penobscot Indian.
    Henry David Thoreau (1817–1862)