Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. .data 0x10000000
  2.  
  3. arr_size: .word 0x0000000a # size of array
  4. element: .word 0x0000000d # element to find
  5. index: .word 0x10000008 # index of element
  6. start_adr: .word 0x10000100 # start address of array
  7.  
  8. .data 0x10000100 # placing values of array
  9. # starting at start_adr
  10. .word 0x00000001
  11. .word 0x00000005
  12. .word 0x00000007
  13. .word 0x00000009
  14. .word 0x0000000b
  15. .word 0x0000000d
  16. .word 0x00000010
  17. .word 0x00004000
  18. .word 0x00050000
  19. .word 0x00700000
  20.  
  21.  
  22. .text 0x0400000 # start of the code
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement