Benchmark program 1

Test simple cpu3 instructions, excluding stack and register X.  The following instructions are exercised :
{add, adc, com, and, ora, xor, cla, lda, sta, out, jz, jc, jn, jmp, rol, ror, clc, stc, id }

The package contains files :
bm1.txt   the benchmark source program
bm1.lst  listing after assembled
bm1.s   S-format object code
bm1.log  output of running bm1.s with simulator cpu3

When the least significant bit of the output port (b0) is monitored the following pattern is observed :  01011101010110101110  and then repeated.

2 October 1999
Prabhas Chongstitvatana