Skip to content

Commit

Permalink
Broken the line for syscall for code readability
Browse files Browse the repository at this point in the history
  • Loading branch information
cheng-alvin committed Dec 21, 2024
1 parent f6509a9 commit 2aa2cb4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libjas/instruction.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,10 @@ static void pre_int(operand_t *op_arr, buffer_t *buf, instr_encode_table_t *inst
}

static instr_encode_table_t _int[] = {{OP_I, NULL, {0xCD}, MODE_SUPPORT_ALL, {0xCD}, 1, &pre_int}, INSTR_TERMINATOR};
static instr_encode_table_t syscall[] = {{OP_ZO, NULL, {0x0F, 0x05}, MODE_SUPPORT_64BIT, {0x00, 0x00}, 2, &same_operand_sizes}, INSTR_TERMINATOR};
static instr_encode_table_t syscall[] = {
{OP_ZO, NULL, {0x0F, 0x05}, MODE_SUPPORT_64BIT, {0x00, 0x00}, 2, &same_operand_sizes},
INSTR_TERMINATOR,
};

// clang-format off

Expand Down

0 comments on commit 2aa2cb4

Please sign in to comment.