Following format shows, how to write DLS file.
Usually program start with ".start" and following line with subroutine name
Semicolon (;) used for comments and used in end of the statements
Label         Opcode      
Operands      Comments
L1               add             r1,r0,r1           ;r1++
Memory address declaration
Label:            .word    exp1
r1backup       .word    4
r1backup   reference pointer for memory address 4
Allocating empty space on DLX program
Label:      .space     expr
Array:      .space       40      ;Allocate 10 words 
Setting the program start address
                 .start expr
Example
                 .start Main ;Jump to Main
Array: .space 10*4
Index: .word 0
Main: lw r1, Index      ;Jump to here
Tags:DLS file layout and comments,DLS file layout,DLS file commands,DLX file

This was a really great contest and hopefully I can attend the next one. It was alot of fun and I really enjoyed myself..
ReplyDelete代做java
I gotta favorite this website it seems very helpful .
ReplyDeleteitcs代写靠谱吗