Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

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

Step: 1

Below is an assembly program that performs a reflex test as described This program displays a greeti... blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

An Introduction to Programming with C++

Authors: Diane Zak

8th edition

978-1285860114

More Books

Students explore these related Programming questions