Advertisement
NoThisIsPanman

7 questions

Feb 21st, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .CSEG
  2. .ORG 0x10
  3.  
  4. MAIN:   LD R1, (R30)
  5.         LD R2, (R31)
  6.         ST R1, (R31)
  7.         ST R2, (R30)
  8.  
  9.  
  10. .CSEG
  11. .ORG 0x10
  12.  
  13. MAIN:   MOV R1, 0x00
  14.         MOV R2, 0x00
  15.        
  16. LOOP:   ST R2, (R1)
  17.         ADD R1, 0x01
  18.         CMP R1, 0xFF
  19.         BRNE LOOP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement