summaryrefslogtreecommitdiffstatshomepage
path: root/py/asmx86.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-09-07 01:06:19 +0100
committerDamien George <damien.p.george@gmail.com>2014-09-07 01:06:19 +0100
commit8105736982b0bb2ee3809c8d05b9c41b9aceea1b (patch)
tree42d11922da7aa5f416958fecaee916e9a7c5cc2c /py/asmx86.h
parent25d904105c61ba09de8460c0bf031c77b3faf51f (diff)
downloadmicropython-8105736982b0bb2ee3809c8d05b9c41b9aceea1b.tar.gz
micropython-8105736982b0bb2ee3809c8d05b9c41b9aceea1b.zip
py: Clean up x86-64 native assembler; allow use of extended regs.
Native x86-64 now has 3 locals in registers.
Diffstat (limited to 'py/asmx86.h')
-rw-r--r--py/asmx86.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/py/asmx86.h b/py/asmx86.h
index 35ee55e4f4..5af19cbf61 100644
--- a/py/asmx86.h
+++ b/py/asmx86.h
@@ -52,11 +52,6 @@
#define ASM_X86_CC_JNE (0x5)
#define ASM_X86_CC_JL (0xc) // less, signed
-#define REG_RET REG_EAX
-#define REG_ARG_1 REG_EAX
-#define REG_ARG_2 REG_ECX
-#define REG_ARG_3 REG_EDX
-
typedef struct _asm_x86_t asm_x86_t;
asm_x86_t* asm_x86_new(mp_uint_t max_num_labels);