Giter VIP home page Giter VIP logo

asm-arm2's Introduction

An assembler and simulator for the ARM2 processor

Merlin 4 was an ARM2 computer originally designed in 1988 but built in 1992. There are the tools developed in 1988.

The assembler is arm.c and includes arm2.c (probably a workaround for some length limitation in TurboC). So just compiling the first file should produce a working assembler even without using tcconfig.tc, which is the configuration file for TurboC (their alternative to Makefile). The arm.obj and arm.exe results of compilation are included.

The simulator is simula.c and it must be linked with the result of compiling assembly.c. It presents a user interface very similar to the MS-DOS "debug" command and this reduced assembler is used within the interface while the assembler described above is used as a standalone program.

test.arm is an ARM2 assembly program which tries to exercise all features of the assembler, including things that should be flagged as errors. The result is test.lst.

p8088-2.arm is a simulator for the Intel 8088 processor written in ARM2 assembly. It actually only simulates the fraction of the 8088 that is needed to run sbench.com. The results of assembling this simulator, p8088-2.lst and p8088-2.bin, are included. The idea is that the latter can be used as an input to the ARM2 simulator, and that will in turn read sbench.com and run that in two levels of simulation. The resulting number of clock cycles give an idea of the speed of an emulate 8088 on the actual Merlin 4 hardware. Running the same benchmark natively on a PC allows a comparison, and the result at the time indicated that an emulate 8088 on an 8MHz Merlin 4 would be about as fast as the original 4.77Mhz PC.

asm-arm2's People

Contributors

jeceljr avatar

Watchers

 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.