Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

I need your help please

Status
Not open for further replies.

Malika

Newbie level 3
Newbie level 3
Joined
Apr 28, 2013
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,309
Hi Everybody How r u
please i need ur help i have an exercice to do with "EMU 8086" but i could not solve it i'm so sorry my english is bad
if u can help me send to me a msg or something
thank youuuuu



this is the exercice

write a program to create a text editor configured according to the following criteria:
- You can enter only alphabetic characters
- The display is capitalized regardless of the character typed
- Typed text must register from the address 100H
- It finishes editing by pressing the enter key
 

Start by calling whatever is the routine that reads keypresses, or takes a character from the queue.

If the ASCII value is 13 (Enter or Return), exit the exercise.

You want to accept upper and lower case letters. You want to display only capitals. Capitals are ASCII values 65 to 90.

Lower case are ASCII 97 to 122. The values differ by 32. (This is bit 5.)
If ASCII value is above 122, then ignore it.

ELSE: Write a boolean command to 'AND' incoming keypresses with the value 32. If the result is in the range 65 to 90, display it. Any other value is ignored.

Resume from the top.
 

thx BradThe Rad i know that i'll do this steps but how to translate it with EMU8086 language :D
 

If you are talking about the 8086 microprocessor that has been around for decades, then you will need an assembly language utility program.

Either that, or you must look up all the commands in the instruction manual, convert them to number form, and input them into memory, in the correct sequence. You will need to keep track of how many bytes you jump forward and backward, etc. This would be a challenge for any programmer.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top