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>...
-
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 ...
-
Shift left and Shift right instruction are used to move bits in a register ,This will used for multiplication and division of registers....
-
DLX provides two instructions for comparing numbers: seq (set if equal) sne (set if not equal). Seq instruction example : Seq re...
-
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...
-
When we multiply or divide unsigned numbers, we must use logical shifts, as we will now see. Example 1 addui r1,r0,200 srli r2...
-
Implementing for loop on DLX Program is similar like DLX program while loop except variable declaration and variable decrement or increm...
-
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...
-
Following format shows, how to write DLS file. Usually program start with ".start" and following line with subroutine n...
-
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...
0 comments:
Post a Comment