I'm trying to figure out how to make two calculations related to assembly language. To calculate the target branch from a conditional field you must extract the value in the BD field. The Immediate field (BD) specifies a 14-bit signed two's complement branch displacement that is concatenated on the right with 0b00 and sign-extended to 32 bits. I can extract the BD field just fine but I dont understand how to calculate the displacement. I also have the same problem with the BI field in an unconditonal branch code Immediate field (BI) specifies a 24-bit signed two's complement integer that is concatenated on the right with 0b00 and sign-extended to 32 bits. Anyone have a clue how to perform these calculations? W.