flat assembler
Message board for the users of flat assembler.
Index
> Main > loading unprintable character into a register |
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? |
|||
05 Feb 2004, 20:18 |
|
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.
|
|||
05 Feb 2004, 20:35 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.