mirror of https://github.com/stella-emu/stella.git
Formatting.
This commit is contained in:
parent
3ad74cdeb9
commit
7d2b40672a
|
@ -38,8 +38,8 @@ Int32 elfUtil::decode_B_BL(uInt32 opcode)
|
||||||
return offset;
|
return offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
uInt32 elfUtil::encode_B_BL(Int32 offset, bool link)
|
uInt32 elfUtil::encode_B_BL(Int32 offset, bool link)
|
||||||
{
|
{
|
||||||
// nomenclature follows Thumb32 BL / B.W encoding in Arm Architecture Reference
|
// nomenclature follows Thumb32 BL / B.W encoding in Arm Architecture Reference
|
||||||
|
|
||||||
offset >>= 1;
|
offset >>= 1;
|
||||||
|
@ -55,4 +55,4 @@ Int32 elfUtil::decode_B_BL(uInt32 opcode)
|
||||||
if (link) hw2 |= 0x4000;
|
if (link) hw2 |= 0x4000;
|
||||||
|
|
||||||
return hw1 | (hw2 << 16);
|
return hw1 | (hw2 << 16);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue