1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
expeople1 [14]
3 years ago
11

Your assignment is to write an assembly language program which read a string and print it in uppercase. This program asks the us

er to enter a string which is subsequently displayed in uppercase. It is important to first ensure that string to be converted is in the a-z range. The program does not recognize any space, symbols or any kind of punctuation marks. Any time the user enters any of this character the program is going to repeatedly ask for the valid string.
An example execution of your program could be:
Please enter your string: 1winter
Invalid Entry!
Please enter your string: summer
Your capitalized string:SUMMER
Computers and Technology
1 answer:
const2013 [10]3 years ago
4 0

Answer:

try this

Explanation:

MSG1 DB 10,13,'enter any string:-$'

MSG2 DB 10,13,'converted string is:-$'

P1 LABEL BYTE

M1 DB 0FFH

L1 DB?

P11 DB 0FFH DUP<'$'>

DATA ENDS

DISPLAY MARCO MSG

MOV AH,9

LEA DX,MSG

INT 21H

ENDM

CODE SEGMENT

ASSUME CS: CODE,DS:DATA

START:

MOV AX,DATA

MOV DS,AX

DISPLAY MSG1

LEA DX,P1

MOV AH,0AH

INT 21H

DISPLAY MSG2

LEA SI,P1

MOV CL,L1

MOV CH,0

CHECK:

CMP[SI],61H

JB DONE

CMP[SI],5BH

UPR: SUB[SI],20H

DONE: INC SI

LOOP CHECK

DISPLAY P11

MOV AH,4CH

INT 21H

CODE ENDS

END START

You might be interested in
What is the primary reason that routing on the internet is redundant
Elena-2011 [213]

Most of the time rerouting on the internet is redundant because a router already does it automatically. For example if one path has a lot of traffic it with put the user on another path with less traffic but same destination.

<span />
4 0
3 years ago
Given a list of syntax errors from a compiler, a programmer should focus attention on which error(s), before recompiling?
Ahat [919]

Given a list of syntax errors from a compiler, a programmer should focus attention on the first errors before recompiling,

<h3>What is first error?</h3>

This is referred to a type of error which occurs during compilation in a syntax operation.

This error is suaully as a resuklt of incorrect spelling of variable or function name or parenthesis absence and should be corrected alone before recompiling is done thereby making it the most appropriate choice.

Read more about Syntax here brainly.com/question/18497347

#SPJ1

3 0
2 years ago
Cultural differences may make it difficult for team members to _____. Select 4 options.
ludmilkaskok [199]

Answer:

A) collaborate with each other

C) achieve business objectives

D) understand each other

E) resolve conflict and problems

Explanation:

Well lets use the process of elimination. If there are cultural differences then there are different cultures involved. So B doesn't work because it's multicultural when there is different cultures. And you need 4 answers out of 5, so all you need to do is eliminate one answer.

Good Luck! You got this!

6 0
3 years ago
HELP! WILL GIVE BRAINLIEST
maw [93]

Answer:

Creative, helpful, communicative, colorful, detailed

Explanation:

6 0
3 years ago
Read 2 more answers
Identify which of the following is a digital native?
NARA [144]

Answer:

Hehe

Explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • Create a class called Animal that accepts two numbers as inputs and assigns them respectively to two instance variables: arms an
    11·1 answer
  • Barr the Bear has started a business to sell fish to Poe and his fellow penguins. The penguin customers submit many fish orders,
    12·1 answer
  • Everyone holds some stereotypical attitudes.
    12·2 answers
  • Toshiba Corporation makes computer chips. Toshiba Corporation would be classified as a A. merchandising company. B. manufacturin
    15·1 answer
  • Daphne used to work in the city where she would take public transportation to work. However, she just took a new job in the subu
    10·1 answer
  • What are ya'll discords???
    10·2 answers
  • For each of the following memory accesses indicate if it will be a cache hit or miss when carried out in sequence as listed. Als
    15·1 answer
  • What is the name given to software that decodes information from a digital file so that a media player can display the file? har
    11·1 answer
  • Using complete sentences post a detailed response to the following.
    15·1 answer
  • In what ways are computers being used to improve our quality of life
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!