luaur-code-gen 0.1.0

Native (A64/X64) code generation for Luau (Rust).
Documentation
1
2
3
4
5
6
7
8
use crate::records::assembly_builder_x_64::AssemblyBuilderX64;
use crate::records::operand_x_64::OperandX64;

impl AssemblyBuilderX64 {
    pub fn mul(&mut self, op: OperandX64) {
        self.place_unary_mod_reg_mem(c"mul".as_ptr(), op, 0xf6, 0xf7, 4);
    }
}