Add DynASM x64 module (non-functional). Add extra x64 registers.

This commit is contained in:
Mike Pall
2009-12-10 01:24:24 +01:00
parent 4523c46d10
commit fe36e4ac59
2 changed files with 57 additions and 19 deletions

12
dynasm/dasm_x64.lua Normal file
View File

@@ -0,0 +1,12 @@
------------------------------------------------------------------------------
-- DynASM x64 module.
--
-- Copyright (C) 2005-2009 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
-- This module just sets 64 bit mode for the combined x86/x64 module.
-- All the interesting stuff is there.
------------------------------------------------------------------------------
x64 = true -- Using a global is an ugly, but effective solution.
return require("dasm_x86")