Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Emu8086, Uni work help
super.rad
post Jan 17 2007, 04:00 PM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 17-January 07
Member No.: 37,361



Hi, im studying music and audio electronic systems in uni and i've been set an assingment for my microprocessor lecture. the assignment is:

Write a program in (8088) assembly language that should be able to:
•Input any number of positive values of two decimal digits using DOS services.
•Find the maximum value.
•Display the number of values and the maximum value using DOS services.
•Comment on the limitations of your program.

the software i have to use is emu8086 http://www.emu8086.com/

basically i have no clue where to start or what to do and have never done any programming or used this software before, so anyone who knows a bit about programming and has used the software if you could give a few hints or anything i would be very grateful. rolleyes.gif
Go to the top of the page
 
+Quote Post
osknockout
post Jan 17 2007, 11:25 PM
Post #2


Super Member
*********

Group: Members
Posts: 396
Joined: 14-November 04
From: Elysium
Member No.: 2,280



Wow, you're starting assembly without any programming practice at all? blink.gif
That's almost unheard of nowadays.

Anyway, start with this page on numbering systems on your emu site.
I'd also suggest reading this site - uses 8086 code.
Then you'd want to read up on DOS interrupts here.

I'm not going to give you your hmwk, but I'll tell you that STDOUT (the usual case for DOS interrupt pages) basically is the screen. So if you were to use something like use Int 21 with AH=9 or AH =2 that'd print a character or string (depending on your AH value) to the screen.

Oh, and hopefully you've read the 8088 specs for that commentary. If you haven't you can just google it.

Hope that helps.
-osknockout
Go to the top of the page
 
+Quote Post
ghostrider
post Jan 19 2007, 07:17 PM
Post #3


Super Member
*********

Group: Members
Posts: 397
Joined: 9-June 06
From: Wisconsin
Member No.: 24,924



Emu8086 has a very nice and helpful tutorial included in the help section, along with a lot of other useful information. I'd suggest reading that first.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

 



- Lo-Fi Version Time is now: 24th July 2008 - 06:52 AM