flat assembler
Message board for the users of flat assembler.
Index
> DOS > add x, y ... Where is the result stored? |
Author |
|
Steve 10 Sep 2005, 23:11
I've been looking at a tutorial that shows (http://www.decard.net/article.php?body=tajga&chapter=07) :
mov ax,5 mov bx,5 add bx,[five] add ax,bx ;here ax contains 15, bx contains 10 five dw 5 Where exactly is it stored? Am I so close I can't see the answer? |
|||
10 Sep 2005, 23:11 |
|
vid 11 Sep 2005, 08:58
yup, "add ax,bx" is more like "ax += bx", most instructions take paramater in order that first is destination, and second is source, source usually remains unmodofied
|
|||
11 Sep 2005, 08:58 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.