You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
what does asm.NewBuilder("amd64", 64).Assemble() do? Does it compile down to machine code? if not, how do I compile the assemble code generated by this library into machine code programatically?
The text was updated successfully, but these errors were encountered:
This library doesn't generate assembly code, it generates machine code from series of calls like b.AddInstruction(...), where each call to AddInstruction is an assembly instruction.
asm.NewBuilder("amd64", 64).Assemble() specifically generates nothing as you did not call any methods on the builder to add instructions for it to emit.
what does
asm.NewBuilder("amd64", 64).Assemble()
do? Does it compile down to machine code? if not, how do I compile the assemble code generated by this library into machine code programatically?The text was updated successfully, but these errors were encountered: