Coder Social home page Coder Social logo

emuarm-emulator's Introduction

EmuARM Emulator

About EmuARM

EmuArm is an ARM ISA emulator. It can be used to write, execute, and debug programs written in the ARM and Thumb assembly languages. It has a graphical mode as well as a command line mode.

Features provided

  • In-built text editor to code and debug ARM code
  • Emulation support for the ARM ISA
  • Thumb ISA
  • Breakpoints to assist debugging the program
  • Easy console input for integers
  • Step Into, Step Over and Step Out functions to get detailed line-by-line execution information of the program

How to launch the GUI Version of EmuARM

  • enter the emuarm directory
  • to compile the source code : type ant compile on the terminal
  • to make the jar files : type ant jar on the terminal
  • to run the jar (emuArm.jar) that is created using GUI, simply type java -jar emuArm.jar

How to launch the Command Line Version of EmuARM

  • enter the emuarm directory
  • to compile the source code : type ant compile on the terminal
  • to make the jar files : type ant jar on the terminal
  • to run the jar (emuArm.jar) that is created, using an assembly file as input, simply type java -jar emuArm.jar -f=filename. We can either enter the absolute ore the relative path of the file. Eg. java -jar emuArm.jar -f=temp.s
  • to display the register, branch and memory tables in the output in command line mode, type -tables after -f=<filename>

Usage

You can type regular ARM assembly code, and EmuArm will recognize it. If you need to write Thumb code first put the directive .thumb on a separate line. EmuArm supports two more directives: .read and .print. The .read directive is used to read the value of a register from the command line.

For example you can write: .read r1

This statement will read in a value into the register r1 from the command line or the GUI console (similar to scanf in C).

The .print directive can be used to print the value of a register to the command line or the GUI console.

For example: .print r1

See the file example.s in this directory.

Documentation


For detailed information and EmuARM documentation, please refer to http://www.cse.iitd.ac.in/~srsarangi/files/software/emuarm/emuarm-manual.pdf

emuarm-emulator's People

Contributors

kushagramahajan 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.