Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Emu8086


2 replies to this topic

#1 super.rad

    Newbie

  • Kontributors
  • Pip
  • 1 posts

Posted 17 January 2007 - 04:00 PM

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. :P

#2 osknockout

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 399 posts
  • Location:Elysium
  • Interests:quantum mechanics, war, history, epidemiology, virology,mathematics, programming, D&amp;D/NetHack<br />...old skool :)

Posted 17 January 2007 - 11:25 PM

Wow, you're starting assembly without any programming practice at all? :P
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

#3 ghostrider

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 398 posts
  • Gender:Male
  • Location:Wisconsin

Posted 19 January 2007 - 07:17 PM

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.




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users