13 lines
581 B
Lua
13 lines
581 B
Lua
------------------------------------------------------------------------------
|
|
-- DynASM RISC-V 32 module.
|
|
--
|
|
-- Copyright (C) 2022-2026 ISRC, ISCAS. 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")
|