I want to create a macro like the following:
.altmacro .macro assert_eq a, b=%eax LOCAL ok #... .endm
To be used as:
You can add
.att_syntax noprefix
and than call the macro as
assert_eq $1, eax