i need to write a program to draw all 8085 instructions using c++.can anyone help?
4 Replies - 1666 Views - Last Post: 21 September 2009 - 10:01 AM
#1
write a program to draw 8085 instruction set in c++
Posted 20 September 2009 - 10:59 AM
Replies To: write a program to draw 8085 instruction set in c++
#2
Re: write a program to draw 8085 instruction set in c++
Posted 20 September 2009 - 11:07 AM
[rules][/rules]
#3
Re: write a program to draw 8085 instruction set in c++
Posted 21 September 2009 - 08:57 AM
#4
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
#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
#5
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
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote











|