diff options
author | John van Groningen | 2016-03-18 11:43:17 +0000 |
---|---|---|
committer | John van Groningen | 2016-03-18 11:43:17 +0000 |
commit | 94591bac8ab99e02aa89dedd8ddd41ba68ece834 (patch) | |
tree | 08cc7c87e9686b3ffc2ebd99209b84a1193dae6b /cgarmwas.c | |
parent | add passing arrays to c in ccall (diff) |
generate a word instead of a byte for abc instruction "instruction" for the ARM
Diffstat (limited to 'cgarmwas.c')
-rw-r--r-- | cgarmwas.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1923,7 +1923,7 @@ static void w_as_rem_instruction (struct instruction *instruction) static void w_as_word_instruction (struct instruction *instruction) { - fprintf (assembly_file,"\t.byte\t%d\n", + fprintf (assembly_file,"\t.word\t%d\n", (int)instruction->instruction_parameters[0].parameter_data.i); } |