Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Wrong!
- ##### Take Input
- li $v0, 8
- syscall
- la $a0, Input
- AtomRouter% spim -f Reverse.s
- SPIM Version 7.5 of August 14, 2009
- Copyright 1990-2004 by James R. Larus (larus@cs.wisc.edu).
- All Rights Reserved.
- See the file README for a full copyright notice.
- Loaded: /usr/local/share/spim/exceptions.s
- Please enter a string up to 60 characters: test
- Memory Location Element 0: 268500992
- Letter in memory location:
- -----------------------
- Memory Location Element 0: 268500993
- Letter in memory location:
- -----------------------
- Memory Location Element 0: 268500994
- Letter in memory location:
- -----------------------
- Memory Location Element 0: 268500995
- Letter in memory location:
- -----------------------
- ########################################################################################################
- RIGHT!!
- ##### Take Input
- li $v0, 8
- la $a0, Input
- syscall
- AtomRouter% spim -f Reverse.s
- SPIM Version 7.5 of August 14, 2009
- Copyright 1990-2004 by James R. Larus (larus@cs.wisc.edu).
- All Rights Reserved.
- See the file README for a full copyright notice.
- Loaded: /usr/local/share/spim/exceptions.s
- Please enter a string up to 60 characters: test
- Memory Location Element 0: 268500992
- Letter in memory location: t
- -----------------------
- Memory Location Element 0: 268500993
- Letter in memory location: e
- -----------------------
- Memory Location Element 0: 268500994
- Letter in memory location: s
- -----------------------
- Memory Location Element 0: 268500995
- Letter in memory location: t
- -----------------------
Add Comment
Please, Sign In to add comment