| | |
Acessing register?
Please support our Assembly advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Nov 2009
Posts: 3
Reputation:
Solved Threads: 0
When I do this:
the code works, but when I do this:
The code doesn't work.... I don't understand why....?
Assembly Syntax (Toggle Plain Text)
la $a1, 9($t1)
the code works, but when I do this:
Assembly Syntax (Toggle Plain Text)
marker: .word 9 la $a1, marker($t1)
The code doesn't work.... I don't understand why....?
0
#2 26 Days Ago
•
•
•
•
When I do this:
Assembly Syntax (Toggle Plain Text)
la $a1, 9($t1)
the code works, but when I do this:
Assembly Syntax (Toggle Plain Text)
marker: .word 9 la $a1, marker($t1)
The code doesn't work.... I don't understand why....?
•
•
Join Date: Nov 2009
Posts: 3
Reputation:
Solved Threads: 0
0
#3 26 Days Ago
•
•
•
•
I'm not familiar with the above syntax so this is a guess....when you place 9 into the label marker you place into memory so the second set of instructions requires a memory call while the first, 9 can be made into part of the instruction or immediate so no memory call to retrieve it...Like I said this is a guess because I'm not familiar with this syntax....
I want to access to access the value in $t1 in a loop, that is, access 0($t1) then 9($t1), then 18($t1)...
![]() |
Similar Threads
- should you register your domain name independently from your web host? (Domains and DNS)
- What is the difference between a RECORD and REGISTER? (Computer Science)
- Register Windows File (Windows NT / 2000 / XP)
- How to acessing external Database using JSF in java? (Java)
- QB, access bytes from a register (Visual Basic 4 / 5 / 6)
- How to entice people to actually register? (Growing an Online Community)
Other Threads in the Assembly Forum
- Previous Thread: Setting system time?
- Next Thread: Learning more about assemebly, recommendations?
| Thread Tools | Search this Thread |





