We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The function ud_translate_att in syn-att.c declares a local variable, size, and sets it to zero:
ud_translate_att
syn-att.c
size
extern void ud_translate_att(struct ud *u) { int size = 0;
A bit further down there's code conditional on size to append a size suffix to the mnemonic:
if (size == 8) { ud_asmprintf(u, "b"); } else if (size == 16) { ud_asmprintf(u, "w"); } else if (size == 64) { ud_asmprintf(u, "q"); }
However, size is never changed from its initial value of zero, so the suffix is never added.
Should there be some additional logic to change the value of size in cases where a size suffix is required?
The text was updated successfully, but these errors were encountered:
I'm closing this as it duplicates a problem noted in issue #113.
Sorry, something went wrong.
No branches or pull requests
The function
ud_translate_att
insyn-att.c
declares a local variable,size
, and sets it to zero:A bit further down there's code conditional on
size
to append a size suffix to the mnemonic:However,
size
is never changed from its initial value of zero, so the suffix is never added.Should there be some additional logic to change the value of
size
in cases where a size suffix is required?The text was updated successfully, but these errors were encountered: