25 May 2013

Loading and Storing Value to DLX Ram from Registes

DLX Code
1:  lw r5,16#100  
2:  sw 16#200,r5  
Explanation DLX Code
1:  # Ram 100=0  
2:  r5 register=8  
3:  sw 16#100,r5 //Copy r5 resgiter value to memory 100  
4:  r5 register=8  
5:  # Ram 100=8  
6:  lw r5,16#100 //Copy memory into r5 register  
7:  # Ram 100=8  
8:  r5 register=8  
Tags:Loading Storing DLX registers, Backup DLX Registers,Copy ram to Register on DLX

0 comments:

Post a Comment

Popular Posts