Skip to content
Snippets Groups Projects
Commit 0786716c authored by Damien George's avatar Damien George
Browse files

py/asmx86: Fix function definition to use int32_t instead of int.

parent 7a5a4fe2
Branches
No related tags found
No related merge requests found
...@@ -305,7 +305,7 @@ void asm_x86_mov_i8_to_r8(asm_x86_t *as, int src_i8, int dest_r32) { ...@@ -305,7 +305,7 @@ void asm_x86_mov_i8_to_r8(asm_x86_t *as, int src_i8, int dest_r32) {
} }
#endif #endif
void asm_x86_mov_i32_to_r32(asm_x86_t *as, int src_i32, int dest_r32) { void asm_x86_mov_i32_to_r32(asm_x86_t *as, int32_t src_i32, int dest_r32) {
asm_x86_write_byte_1(as, OPCODE_MOV_I32_TO_R32 | dest_r32); asm_x86_write_byte_1(as, OPCODE_MOV_I32_TO_R32 | dest_r32);
asm_x86_write_word32(as, src_i32); asm_x86_write_word32(as, src_i32);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment