Git Product home page Git Product logo

casl's Introduction

========================================================================

忘记那一年了, 总之当时 因为要考 软件设计师, 而学习的 casl 汇编。
因为是虚拟的机器,所以没有上机操作,刚好我闲来无事,就用业余时间,
写了一个cals汇编编译器,以及一个可以运行编译器的虚拟机。
经过测试,可以满足当时的操作指令要求。
后来**取消了这个虚拟汇编的考试学习,所以也就没有什么学习价值了,
不过其编译器和虚拟机部分还是拿出来给大家分享一下吧。
代码写的年代比较早,可能有些部分不是很优雅,不过重点在原理吧。

========================================================================

CASL语言汇编器:2004。1。4日。

指令分类:
1、传送类
	寄<=数
	寄<=内
	寄<=寄
	内=>寄
	
2、计算类
	有符号整数	+-*/
	浮点的		+-*/
	算术        &|!~

3、其他类
	中断、开、关
	跳转
	函数调用
	返回

casl's People

Contributors

dkwmd avatar

Stargazers

lansend avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.