Skip to content

Commit

Permalink
Create lvm_main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Leviathan authored and Leviathan committed Oct 21, 2015
1 parent 2361289 commit 3a7e561
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Lsy_Lvm/lvm/lvm_main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//
// main.cpp
// Lmachine
//
// Created by leviathan on 15/8/21.
// Copyright (c) 2015年 leviathan. All rights reserved.
//

#include <iostream>
#include "lvm_assembler.h"
#include "lvm_lmachine.h"
using namespace std;

int main() {
Lmachine lvm;
lvm.init(); //init lmachine
lvm.readline(); //get code
Assembler assembler;
assembler.assemblerrun();
lvm.lvmrun(assembler);
cout<<"lvm is over ..."<<endl;
return 0;
}

0 comments on commit 3a7e561

Please sign in to comment.