summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index beeb1eb..8c92a1d 100644
--- a/main.c
+++ b/main.c
@@ -2949,7 +2949,7 @@ static void emit_arg(
{
const char reg_type = arg->xi & 0x8 ? 'a' : 'd';
const char size = arg->briefext_size == OPSIZE_L ? 'l' : 'w';
- fprintf(s, ",%c%d:%c)", reg_type, arg->xi & 0x7, size);
+ fprintf(s, ",%%%c%d:%c)", reg_type, arg->xi & 0x7, size);
}
break;
case ARG_ADDR_WORD:
@@ -2972,7 +2972,7 @@ static void emit_arg(
{
const char reg_type = arg->xi & 0x8 ? 'a' : 'd';
const char size = arg->briefext_size == OPSIZE_L ? 'l' : 'w';
- fprintf(s, ",%c%d:%c)", reg_type, arg->xi & 0x7, size);
+ fprintf(s, ",%%%c%d:%c)", reg_type, arg->xi & 0x7, size);
}
break;
case ARG_IMMEDIATE: