The BEQ instruction branches the PC if the first
source register's contents and the second source
register's
contents are equal.
It's syntax is:
BEQ $first source register's address,
$second source register's address, branch
value.
The sample BEQ instruction demonstrated in the datapath above is BEQ $9, $11, .
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) |
$9 |
01001 |
|
|
$11 |
01011 |
|
|