Abstract
The execution times of microcomputer high-level-language commands can be long enough to be of concern in experiments in which precise timing is a consideration. The problems in developing standard BASIC timing routines are addressed. A technique for using the Model III TRS-80 real-time clock to calibrate BASIC timinig routines is described, and representative execution times of selected commands are reported. It is concluded that high-level languages are too slow and that execution times are too variable for critical timing in experiments. On the other hand, machine language programs can provide the needed precision and control.
Article PDF
Similar content being viewed by others
Avoid common mistakes on your manuscript.
References
Dlhopolsky, J. G. Software synchronizing of video diplays and Z-80 processing in the Model III TRS-80.Behavior Research Methods & Instrumentation, 1982,14, 539–544.
Grice, G. R. Accurate reaction time research with the TRS-80 microcomputer.Behavior Research Methods & Instrumentation, 1981,13, 674–676.
Lincoln, C. E., &Lane, D. M. Reaction time measurement errors resulting from the use of CRT displays.Behavior Re-search Methods & Instrumentation, 1980,12, 27–39.
Mapou, R. L. Tachistoscopic timing on the TRS-80.Behavior Research Methods & Instrumentation, 1982,14, 534–538.
Merikle, P. M., Cheesman, J., &Bray, J. PET Flasher: A machine language subroutine for timing visual displays and response latencies.Behavior Research Methods & Instrumentation, 1982,14, 26–28.
Reed, A. V. Microcomputer display timing: Problems and solutions.Behavior Research Methods & Instrumentation, 1979,11, 572–575.
Zaks, R.How to program the Z-80. Berkeley, Calif: Sybex, 1980.
Zaks, R.Programming the 6502 (3rd ed.). Berkeley, Calif: Sybex, 1980.
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Dlhopolsky, J.G. Limitations of high-level microcomputer languages in software designed for psychological experimentation. Behavior Research Methods & Instrumentation 15, 459–464 (1983). https://doi.org/10.3758/BF03203685
Received:
Accepted:
Issue Date:
DOI: https://doi.org/10.3758/BF03203685