flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar 05 Feb 2004, 20:18
In this case just:
Code: mov word [esi],'d' will do what you want. More universal solution: Code: mov word [esi],'d' + 0 shl 8 But how is this related to the title of your post? |
|||
![]() |
|
madmatt 05 Feb 2004, 20:35
ok, thanks. Hmm, didn't know it would add the zero byte if you did: mov word [esi],'d' . I couldn't find any information on this in the fasm docs. I'm writing some number conversion routines for a 32bit asm/dos library that I am writing and wanted to save some typing.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.