Message board for the users of flat assembler.
> Main > About operating on words
Hi mates, I'm new to FASM. I need to ask how can I swap the even letters of word "even" with the odd letters of word "odd"?
I started writing some code:
format PE GUI
bol dd "even"
movzx ecx, byte ptr bol+4
|05 Oct 2020, 15:13||
Memory operands are written with square brackets:
Note also that operand sizes are important.
movzx cl, [bol + 4]
|05 Oct 2020, 18:08||
< Last Thread | Next Thread >
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.