컴퓨터구조 6-8.txt 에 있는 내용 C언어로 코딩하기.
- 최초 등록일
- 2006.11.13
- 최종 저작일
- 2006.11
- 7페이지/ MS워드
- 가격 1,500원
소개글
컴퓨터구조 6-8.txt 에 있는 내용 C언어로 코딩하기.
목차
없음
본문내용
/*
6-8.txt 에 있는 내용
LDA SUB
CMA
INC
ADD MIN
STA DIF
HLT
MIN DEC 83
SUB DEC -23
DIF HEX 0
END
*/
#include <iostream>
#include <vector>
#include <stdio.h>
using namespace std;
#define MAXLINE 40
#define VECSIZE 1024
///////////////////////////////////// Functions
void Method1(void);
void Method2(void);
void printContent(void);
void printdataTable(void);
int ret_size(string);
void CommandListInit(void);
string commandListCompare(string , int=0);
int commandListCompare1(string);
void initStruct(void);
/////////////////////////////// Type define
struct dataTable
int csize;
string data1;
string data2;
int data3;
;
struct commandList
string LDA;
string ADD;
string STA;
string HLT;
string INC;
string CMA;
;
vector<string> vec;
vector<string>::iterator it;
vector<dataTable> vec1;
vector<dataTable>::iterator it1;
vector<dataTable>::iterator it2;
string address(
참고 자료
없음