Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
18
Добавлен:
16.04.2013
Размер:
2.84 Кб
Скачать
The Univerity of Teesside 68000 Cross-assembler and Emulator

This is DOS-based software. X68K <filename> cross-assembles the
file filename.x68 to produce
an assembled binary file filename.bin. If you want a listing file
called filename.lis, enter X68K <filename> -L.

You must use an ASCII text editor to create your own source file.
This MUST have the extension .68K. You can test the system using the
file DEMO1.X68 (which you cross-assemble with X68K DEMO1 -L).

Note that the cross-assembler requires the line END <address>, where
<address> is the entry point of the program. I normally use the format:

ORG $400 Program starts here
.
.
END $400 Start execution from $400

Once the program has been assembled without error, you can run it
in emulation mode with E68K <filename>. Once again, you do not need
an extension with this command. For example, to run DEMO1.BIN, you enter
E68K DEMO1.

In the emulator mode, the system behaves like Motorola's TUTOR monitor
on their early single board computer.

Use the HE (help) command to examine the instructions you can use
in the emulator. Note that DF displays the current values of the
68000's registers, and TR traces a single instruction. You exit with
QU (quit).

Screen input and output is performed via the 68000's trap mechanism
(see the help commands).

If you type LOG <filename>, all screen I/O is copied to FILENAME.
This feature means that you can examine your session later or put it
in your lab report.

The utility S68K converts filename.bin into filename.rec which consists
Motorola format S-records. These records can be down-loaded into
real 68000 systems.

Note that the command A68K <filename> is a batch file that cross-assembles
<filename.bat> and runs the emulator if no errors are reported.

The cross-assembler and simulator should behave exactly like the
real 68000. If you find any bugs, please report them to me
at a.clements@tees.ac.uk. My CompuServe address is 100722,1374.
My mailing address is:

Prof Alan Clements
School of Computing
University of Teesside
Middlesbrough
England TS1 3BA

My book 68000 Family Assembly Language discusses the 68K and describes
the use of this software in detail. It is published by PWS Press
in Boston, MA. Their phone number is (617) 542 3377.

The source code for this software is not available. However, it is
periodically upgraded. The next upgrade should include a trap facility
that captures instructions (and all register contents) in a buffer.
When the system reaches a trigger point, you can work backwards
to see what lead up to the breakpoint.

You are free to copy and distribute this copyrighted software
as long as it is used only for non-commercial educational
purposed.

Alan Clements 3 October 1995.


Соседние файлы в папке Emulator
  • #
    16.04.20131.26 Кб17DEMO2.X68
  • #
    16.04.20131.14 Кб17DEMO3.X68
  • #
    16.04.20131.14 Кб17DEMO4.X68
  • #
    16.04.201391.92 Кб18E68K.EXE
  • #
    16.04.201313.05 Кб16E68KHLP.DAT
  • #
    16.04.20132.84 Кб18README.TXT
  • #
    16.04.201313.31 Кб19RELNOTES.DOC
  • #
    16.04.20137.49 Кб17S68K.EXE
  • #
    16.04.20132.86 Кб16S68K.PIF
  • #
    16.04.2013180 б16SMARTCHK.CPS
  • #
    16.04.2013995 б16X68.PIF