DLS file is Source file
File created by user and Input of Assembler DSAM
DLX file is Executable file
File created by Assembler if the file assemble. It can be run from DLX simulator
>>java -jar dasm.jar try.dls -a
-a Program follows absolute address
>>java -jar dasm.jar try.dls -a -l
-l List down the error & assembly of your program
>>java -jar Dsim.jar
To run simulator
25 May 2013
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Here is the Example DLX program to sum of integers Java version sum= 0; j= 100; for( i=0; i<100; i++ ){ if( i>...
-
In this post we will look at how to convert java code into DLX code. We will create two functions Perrin and gensum . The funct...
-
When we multiply or divide unsigned numbers, we must use logical shifts, as we will now see.We can multiply 2 the power values by just ...
-
DLX provides two instructions for comparing numbers: seq (set if equal) sne (set if not equal). Seq instruction example : Seq re...
-
Implementing While loop on DLX Program While loop Java Code 1: int i=0; 2: while (x>2) 3: { 4: i=i+1; 5: } Whil...
-
Implementing for loop on DLX Program is similar like DLX program while loop except variable declaration and variable decrement or increm...
-
List of comparison commands on DLX program Signed numbers Comparison Set Less than slt rd, rs1, rs2 ; set rd to 1 if rs1 < rs2, oth...
-
Following format shows, how to write DLS file. Usually program start with ".start" and following line with subroutine n...
-
1,Command to execute simulator java -jar Dsim.jar 2,DLX Simulator 3,Loading DLX file into DSIM simulator ...
-
Adding two Integers from two Registers Example code: 1: Add r1,r2,r3 ;r1=r2+r3 Explanation of code: 1: #r1 register=0 2: #r...
0 comments:
Post a Comment