GithubHelp home page GithubHelp logo

spc476 / 6809-disasm Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 70 KB

A Motorola 6809 disassembler written in 6809 assembly.

License: GNU Lesser General Public License v3.0

Makefile 3.74% Assembly 96.26%
6809 6809-assembly disassembler disassembler-lib

6809-disasm's Introduction

               The MC6809 Disassmebler in MC6809 Assembly Code

This implements a thread-safe, position independent, ROMable 2K routine to
disassemble a single MC6809 instruction.  The RAM requirements are minimal,
requiring only 47 bytes of stack, and 55 bytes of non-stack RAM in order to
operate.

Upon entry, the X register needs to point to 55 bytes of RAM, which will be
used to return the disassembly, and the Y register pointing to the
instruction to be decoded.  All registers are saved, except for Y, which
upon return, will point to the next instruction in memory.

The space provided by the X register will contain the following data upon
return:

	offset	contents
	0	pointer to address in hexadecimal format
	2	pointer to opcode bytes in hexadecimal format
	4	pointer to operand bytes in hexadecimal format
	6	pointer to opcode as text
	8	pointer to operand as text
	10+	ASCII text strings

Each string is terminated with a NUL byte.

6809-disasm's People

Contributors

spc476 avatar

Stargazers

jadon avatar

Watchers

 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.