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...
-
DLX provides two instructions for comparing numbers: seq (set if equal) sne (set if not equal). Seq instruction example : Seq re...
-
Implementing for loop on DLX Program is similar like DLX program while loop except variable declaration and variable decrement or increm...
-
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...
-
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...
-
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...
-
Implementing If else Conditional statement on DLX Program Example Java code to implement IF& Else 1: if (x<0) { 2: y= 0;...
-
DLX Machine architecture DLX machine consists of 32 registers from r0 to r31 r0 always 0 r31 Jr Register r1 to r...
-
Shift left and Shift right instruction are used to move bits in a register ,This will used for multiplication and division of registers....
0 comments:
Post a Comment