-
February 26th, 2009, 04:34 PM
#1
A very easy question (MIPS Assembly) !?
Hi...
I would like to print out first char ( Which is "s" ), then second char ( Which is "c" ), then ... all chars from the code below (with looping
str: .asciiz "school"
...
I can load chars with
---
lb $t1, char($t2) # t2 will be increased each itme
---
but I couldn`t print each char one by one...
I use
---
move $a0, $t1
li $v0, 4
---
but it aleays gives (null)...
Any suggestion how to print one single intgeger then another from an array ???
Thanks
-
March 1st, 2009, 03:18 AM
#2
Re: A very easy question (MIPS Assembly) !?
You can do the same thing as my suggestion on your other thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|