V
V
Vadim Ushakov2021-10-01 15:55:45
assembler
Vadim Ushakov, 2021-10-01 15:55:45

How to correctly set the string to the register through at & t with built-in assembler?

I get an error :undefined reference to 'VMXh' here "movl $\"VMXh\", %eax\n\t"How to correctly set the string to register? Converted with this tool manpages.ubuntu.com/manpages/bionic/man1/intel2gas...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
jcmvbkbc, 2021-10-01
@Nightmare1

I see a working version like this (and I'm not sure what byte order is meant in the original instruction):

movl    ((((('V' << 8) + 'M') << 8) + 'X') << 8) + 'h', %eax

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question