Re: Dynamically figure operand size using DynAsm

  • From: Ryan Gonzalez <rymg19@xxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sat, 6 Dec 2014 16:59:33 -0600

Also, is there a way of determining register sizes at runtime, too? I know
that DynAsm rejects stuff like this:

| mov dword rax, 10


On Sat, Dec 6, 2014 at 4:51 PM, Ryan Gonzalez <rymg19@xxxxxxxxx> wrote:

> I basically want to be able to do this:
>
> | mov sz a, b
>
> where sz is a variable at runtime that has the size wanted. Is this
> possible?
>
> --
> Ryan
> If anybody ever asks me why I prefer C++ to C, my answer will be simple:
> "It's becauseslejfp23(@#Q*(E*EIdc-SEGFAULT. Wait, I don't think that was
> nul-terminated."
> Personal reality distortion fields are immune to contradictory evidence. -
> srean
> Check out my website: http://kirbyfan64.github.io/
>



-- 
Ryan
If anybody ever asks me why I prefer C++ to C, my answer will be simple:
"It's becauseslejfp23(@#Q*(E*EIdc-SEGFAULT. Wait, I don't think that was
nul-terminated."
Personal reality distortion fields are immune to contradictory evidence. -
srean
Check out my website: http://kirbyfan64.github.io/

Other related posts: