ir/dynasm/dasm_riscv32.lua

13 lines
579 B
Lua
Raw Normal View History

2023-06-01 22:04:27 +02:00
------------------------------------------------------------------------------
-- DynASM RISC-V 32 module.
--
-- Copyright (C) 2005-2022 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
-- This module just sets 32 bit mode for the combined RISC-V module.
-- All the interesting stuff is there.
------------------------------------------------------------------------------
riscv32 = true -- Using a global is an ugly, but effective solution.
return require("dasm_riscv")