music programming text book

learning assembly language


    This is the assembly language emulator.

    The emulator is written in PHP. This is not a great choice, but it is what I have available for free.


    I am starting work with a universal hardware emulator that is oipen source and free for personal and educational uses. This is of obvious use to colleges and universities.

    I am starting work with a generic dual core processor (so that students immediately can work in a modern concurrent programming environment).

    I will extend this to include the ability to emulate a wide range of processors, and eventually add the ability to have table-driven descriptions of processors, allowing professors and students to add any processor on their own, including imaginary processors they design.

    I also intend to extend the emulator to the microcode level and then to the gate level.

installation instructions

    Download the PHP files to your computer. Copies are stored as .txt files (because .php files would be interpretted and you wouldn’t see the actual code). See the list of files below.

    Change the .txt file endings to .php.

    Individuals with their own web server hosting should upload the .php files to their

    This emulator is intended for the LAMP model: Linux, Apache, MySQL, and PHP/Perl/Python.

    Individuals using Mac OS X, Linux, or any other UNIX-like or UNIX-compatible operating system should downlaod copies of Apache and PHP (both are free open source) and run them through a web browser conencting to local host.

    Schools, colleges, and universities should modify the files to meet institutional needs (including customization for use on school servers) and then upload them to the institutional server and make the emulator available for student use.

    Both schools (for educational and research purposes) and individuals (for personal purposes) are encouraged to modify and expand their copies of this project. Share print-outs at: Milo, PO Box 5237, Balboa Island, California, USA, 92662.

    You will notice that I am implementing the 8080/8085/Z80 processor and instruction set first. This is a very simple early 8-bit processor and therefore easier to finish. But the principles apply to all other more complex processors and instruction sets, so this is a great proof of concept.

    There is also a manual describing the processor emulator. It is organized in a manner similar to that used for real processors. This serves as both a complete reference and as a teaching example to show how to read and use a real programmer reference manual. See the list of chapters below.

emulator files

reference manual


assembly language emulator

    This is the assembly language emulator.

    This copy of the emulator is under development and is highly unstable.

    Please do not use this emulator. It is here solely for testing purposes (that does include very brief tests to see if you want to download your own copy). Please follow the instructions in the top section to create your own personal copy of this emulator.

Design decisions


    If you find this interesting and want to contact me, write to Milo, PO Box 5237, Balboa Island, California, 92662, USA.

if you want to make a tax-deductible donation to the StarTree107 Foundation to support this educational work, contact Dr. Barry at 949-675-5778

    Challenge: Homeless or Facebook

return to table of contents
free downloadable college text book

previous page next page
previous page next page

I do the news as an unpaid volunteer for KOCI 101.5 FM, Newport Beach/Costa Mesa (also available on the web)


Made with Macintosh

    This web site handcrafted on Macintosh computers using Tom Bender’s Tex-Edit Plus and served using FreeBSD .

Viewable With Any Browser

    †UNIX used as a generic term unless specifically used as a trademark (such as in the phrase “UNIX certified”). UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Ltd.

    Names and logos of various OSs are trademarks of their respective owners.

    Copyright © 2011 Milo

    Created: April 15, 2011

    Last Updated: May 22, 2011

return to table of contents
free downloadable college text book

previous page next page
previous page next page