I've got -masm=intel on so I can use good ol' Intel syntax. I need to pop a value off the stack into my unsigned short "cur_val", how do I reference "cur_val"?
Although it's Intel syntax, it's not Fasm dialect, I'm a little confused.Code:
struct bigint_t init_bigint_t(unsigned long count, ...)
struct bigint_t new_bigint;
for(;count > 0;count--)
asm("pop word cur_val\n\t"); /* Error: junk `cur_val' after expression */