(for windows PC)
This program is a assembly interpreter for the DLX assembly language described in the text and in lecture. Please read the tutorials and the links to get yourself familiarized with DLX.
|A quick start for windlx.exe|
; ******* end *******
While the assembler is processing an assembly file, the data and instructions it assembles are placed in memory based on either a text (code) or data pointe. Which pointer is used is selected not by the type of information, but by whether the most recent directive was .data or .text. The program initially loads into the text segment.
The WinDLX assembler supports several directives that affect how it loads the DLX's memory. These should be entered in the place where you normally place the instructions and its arguments. Other directives supported are:
.ascii "string1", "string2",...
.asciiz "string1", "string2",...
.byte "byte1", "byte2",...
.double number1, number2,...
.float number1, number2,...
.word word1, word2,....
Traps - the System Interface
Traps build the interface between DLX programs and the I/O-system. There are five traps defined in WinDLX. Zero is an invalid parameter for a trap instruction, used to terminate a program.
|Loading and Running the