Skip to content

Commit c6075a6

Browse files
committed
Fix code formatting in ARM halfword functions
- Convert multi-line comment to single line format - Add spacing for better readability
1 parent 28e4327 commit c6075a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/arm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,13 +339,13 @@ int __luh(arm_cond_t cond, arm_reg rd, arm_reg rn, int ofs)
339339

340340
int __lh(arm_cond_t cond, arm_reg rd, arm_reg rn, int ofs)
341341
{
342-
/* ARM signed halfword load (LDRSH)
343-
*/
342+
/* ARM signed halfword load (LDRSH) */
344343
int opcode = 16 + 8 + 4 + 1;
345344
if (ofs < 0) {
346345
opcode -= 8;
347346
ofs = -ofs;
348347
}
348+
349349
/* Halfword encoding: split offset into 4-bit high and low parts */
350350
if (ofs > 255) {
351351
fatal("Halfword offset too large");

0 commit comments

Comments
 (0)