Machine Cycles

See all articles from Sinc-Link v5 n2
Author(s): Mike Lemyre
Publication: Sinc-Link
Pub Details: Sinc-Link v5 n2 (Volume 5, Issue 2)
Date: March/April 1987
Pages: 10

DEC.27 1987

I was reading an article in P.C.magazine that pertained to accelerator boards for I.B.M. computers. The article gave a comparison of the number of machine cycles that a particular instruction requires in order to execute fully. I am going to try to list some comparisons between the 8088 and the Z80A CPU. The time required for 1 clock cycle is equal to 1/clock speed. In the case of the Z80A it = 1/3.53e6 which = 283 nanoseconds. The I.B.M. runs at 210 nanosecs. That means that the 8088-based machine runs 34% faster. However that is not a true assessment of the machine performance because of the need to compare both the display handling and the number of cycles required to complete an op-code. The 8088 based machine feeds a speed of 14.312 mhz to the display card in comparison to the 2068 which uses a 14.112 mhz speed for its video generation.These frequencies compare favorably.

Now let us look at some commands:

          8088   Z80A.
NOP         3      4
JP,N       15     10
ADD A,N     4      4
LD IX      14     14

There are other factors to consider when comparing the performance of machines. Some are the access times of memory chips and other support components. A point to remember; both the 8088 and the Z80A access data in 8-bit chunks. My experiences with large databases reveal that most time is used in disk I/O Graphics… such as drawing boxes or lines. These show no observable gain in performance. The programs that are memory intensive are usually written in a high-level language and compiled. The compiled versions run much faster. Again you will not be able to notice a difference in performance in everyday applications.