4 Replies - 1666 Views - Last Post: 21 September 2009 - 10:01 AM Rate Topic: -----

#1 gagan_saini1  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 12-September 09

write a program to draw 8085 instruction set in c++

Post icon  Posted 20 September 2009 - 10:59 AM

i need to write a program to draw all 8085 instructions using c++.can anyone help?
Is This A Good Question/Topic? 0
  • +

Replies To: write a program to draw 8085 instruction set in c++

#2 gabehabe  Icon User is online

  • GabehabeSwamp
  • member icon




Reputation: 1346
  • View blog
  • Posts: 10,918
  • Joined: 06-February 08

Re: write a program to draw 8085 instruction set in c++

Posted 20 September 2009 - 11:07 AM

[rules][/rules]
Was This Post Helpful? 0
  • +
  • -

#3 Crunch  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 138
  • View blog
  • Posts: 1,222
  • Joined: 28-July 09

Re: write a program to draw 8085 instruction set in c++

Posted 21 September 2009 - 08:57 AM

The 8085 instruction set

http://www.cavehill....c/lesson18.html
Was This Post Helpful? 0
  • +
  • -

#4 taylorc8  Icon User is offline

  • B&

Reputation: 149
  • View blog
  • Posts: 1,572
  • Joined: 21-July 09

Re: write a program to draw 8085 instruction set in c++

Posted 21 September 2009 - 09:45 AM

I don't know what you mean, but if you just want to display the ascii diagram on that webpage copy it to a text file;
#include <fstream>
using namespace std;
ifstream diagram;
diagram.open("filename",ios::in);
you can then read the file, use cout << to display it
it may look something like
while(!diagram.eof())
{
char a;
diagram.get(a);
cout << a;
}
diagram.close(); // close open file stream
Was This Post Helpful? 0
  • +
  • -

#5 mono15591  Icon User is offline

  • D.I.C Regular

Reputation: 12
  • View blog
  • Posts: 406
  • Joined: 05-November 08

Re: write a program to draw 8085 instruction set in c++

Posted 21 September 2009 - 10:01 AM

Start here
int main(int argc,char* argv[])
{
   return 0;
}

This post has been edited by mono15591: 21 September 2009 - 10:12 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1