aboutsummaryrefslogtreecommitdiff
path: root/py/asmx86.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-10-01 12:34:23 +1000
committerDamien George <damien.p.george@gmail.com>2018-10-01 12:34:23 +1000
commit1dc720dc01741067aeb417ba91937214e2afd137 (patch)
tree80bc1a6f81842583ec52547e4ec690f48128f025 /py/asmx86.c
parent87231132d451e7413dbb97cae74d89721c41634b (diff)
py/asmx86: Comment out unused asm_x86_nop to prevent compiler warnings.
Diffstat (limited to 'py/asmx86.c')
-rw-r--r--py/asmx86.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/asmx86.c b/py/asmx86.c
index 09c11c82f..942b83fb1 100644
--- a/py/asmx86.c
+++ b/py/asmx86.c
@@ -153,9 +153,11 @@ STATIC void asm_x86_generic_r32_r32(asm_x86_t *as, int dest_r32, int src_r32, in
asm_x86_write_byte_2(as, op, MODRM_R32(src_r32) | MODRM_RM_REG | MODRM_RM_R32(dest_r32));
}
+#if 0
STATIC void asm_x86_nop(asm_x86_t *as) {
asm_x86_write_byte_1(as, OPCODE_NOP);
}
+#endif
STATIC void asm_x86_push_r32(asm_x86_t *as, int src_r32) {
asm_x86_write_byte_1(as, OPCODE_PUSH_R32 | src_r32);