1,Create new folder ,example: dlx in D ,D:\dlx
2,Copy dasm.jar,dsim.jar,dsim.cfg to dlx folder
3,Create dls program, Ex try.dls
4,Assemble your program using this command
java -jar dasm.jar -a try.dls
5,After executing this command,It will create try.dlx on dlx folder
6,Run this dlx file using this command
java -jar Dsim.jar
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...
Hi!
ReplyDeleteI'd like download Dsim.jar software because I want to practise with it
Please, Can you help me? Can you give me Dsim.jar via url download Mega,Mediafire, ..?
Thanks so much!