The LW instruction loads data from the data memory through a specified
address, with a possible offset, to the
destination register.
It's syntax is:
LW $destination register's address,
offset($source register's
address).
The sample LW instruction demonstrated in the datapath above is LW $26, ($30).
The instruction's equivalent in binary is:
Information on the content of the registers used:
Register's Address |
Register's Address (Binary) |
Register's Value |
Register's Value (Binary) |
$26 |
11010 |
To be updated |
To be updated |
$30 |
11110 |
|
|