| | |
MIPS language question2 pls help..
![]() |
•
•
Join Date: Dec 2005
Posts: 2
Reputation:
Solved Threads: 0
addi $t0, $s0,48
beq $t1, $t0, L1
L2: lw $t1, 16($t0)
srl $t2, $t1,3
bne $t2, $t0, L2
L1: sw $t2, 32($t1)
ori $s0, $s0, 0xFF7F
j L1
if the machine code equivalent to the above MIPS codes is loaded in memory at starting address 0xd24fc91c, wat exact binary values will be used in the address/offset fields of the machine code for the instructions beq, bne and j?
beq $t1, $t0, L1
L2: lw $t1, 16($t0)
srl $t2, $t1,3
bne $t2, $t0, L2
L1: sw $t2, 32($t1)
ori $s0, $s0, 0xFF7F
j L1
if the machine code equivalent to the above MIPS codes is loaded in memory at starting address 0xd24fc91c, wat exact binary values will be used in the address/offset fields of the machine code for the instructions beq, bne and j?
•
•
•
•
Originally Posted by c21ahongyi
addi $t0, $s0,48
beq $t1, $t0, L1
L2: lw $t1, 16($t0)
srl $t2, $t1,3
bne $t2, $t0, L2
L1: sw $t2, 32($t1)
ori $s0, $s0, 0xFF7F
j L1
if the machine code equivalent to the above MIPS codes is loaded in memory at starting address 0xd24fc91c, wat exact binary values will be used in the address/offset fields of the machine code for the instructions beq, bne and j?
![]() |
Similar Threads
- I need help covert my source code frm pic16c54a to pic16f84a (Assembly)
- A student that needs your help (C)
- MIPS language question pls help.. (Assembly)
- pls i need help with proxy were to locate and how to use with net scape browr (Web Browsers)
- basic commands and syntax in c language (C)
Other Threads in the Assembly Forum
- Previous Thread: MIPS language question pls help..
- Next Thread: I'm new
| Thread Tools | Search this Thread |





