Question: Write a assembly program that performs a reflex test. First the program displays a greeting message (e.g. This is a reflex test program. When displays

Write a assembly program that performs a reflex test. First the program displays a greeting message (e.g. "This is a reflex test program. When displays „push a key now!”, press a key as fast as you can. Press a key to start it."). After it the program displays "press a key now" and it stores the elapsed time between displaying the text, and pushing a key. Than it repeats 9 times (displays the sentence again under the previous string, in the next line), and summarize the time peroids. After it, the program displays the value, and rate the user speed: For example: 0-40 -> „excellent”, 41-80 -> „very good”, … 160-200 -> „it sholud be better", aobve 200 -> „too slow!”

use this as a base code:

Code Segment

assume CS:Code, DS:Data, SS:Stack

Start:

mov ax, Code

mov DS, AX

mov ax, 3

int 10h

End_Program:

mov ax, 4c00h

int 21h

Code Ends

Data Segment

Data Ends

Stack Segment

Stack Ends

End Start

Step by Step Solution

3.36 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Below is an assembly program that performs a reflex test as described This program displays a greeti... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!