how can i write a program, which accepts the starting address (in BX) of a text (terminated by a “%”) stored in data segment and replace all lower-case letters by their upper-case counterparts. Non-alphetic characters will remain as is.(8086)
zifr
0
Newbie Poster
Recommended Answers
Jump to PostShow us what you can do and we'll help you where you get stuck.
You will need a loop and two conditional checks to see if the letter needs to be converted to uppercase.
I assume ASCII?
Jump to PostGood start. I'm using MASM, so I don't know if some of my remarks are accounted for or not.
one
You need to load DS with the proper value. Generally data and code are separated into different segments, but they need not be. You'll need to start with some …
All 6 Replies
Duoas
1,025
Postaholic
Featured Poster
zifr
0
Newbie Poster
Duoas
1,025
Postaholic
Featured Poster
zifr
0
Newbie Poster
Duoas
1,025
Postaholic
Featured Poster
spixy
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.