summaryrefslogtreecommitdiff
path: root/cgthumb2was.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgthumb2was.c')
-rw-r--r--cgthumb2was.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgthumb2was.c b/cgthumb2was.c
index b243fa5..b6963b4 100644
--- a/cgthumb2was.c
+++ b/cgthumb2was.c
@@ -1498,7 +1498,7 @@ static void w_as_jsr_instruction (struct instruction *instruction)
case P_INDIRECT_WITH_UPDATE:
w_as_instruction_without_parameters (".align");
w_as_opcode ("add");
- fprintf (assembly_file,"lr,pc,#9");
+ fprintf (assembly_file,"lr,pc,#7");
w_as_newline_after_instruction();
w_as_opcode ("str");
fprintf (assembly_file,"lr,[sp,#%d]!",instruction->instruction_parameters[1].parameter_offset);