flat assembler
Message board for the users of flat assembler.
Index
> Windows > program does nothing :( |
Author |
|
Tommy 07 Dec 2003, 18:08
Use 16-bit registers (ax instead of eax etc.). You can't use 32-bit registers!
|
|||
07 Dec 2003, 18:08 |
|
JohnFound 07 Dec 2003, 18:13
Hi.
You missed "org $100" as first row. And Tommy, you are wrong here. There is no problem with 32bit registers - the programm will work, but using 32bit registers here is meaningless. Regards. |
|||
07 Dec 2003, 18:13 |
|
Tommy 07 Dec 2003, 18:54
Opps... My fault... Sorry, was too quick there.. Thanks for correcting me John!
|
|||
07 Dec 2003, 18:54 |
|
Gomer73 07 Dec 2003, 18:55
I did the org 100h thing and complied this as a com file.
Mine printed out one line. To fix this, I put the lea esi,[str1] after the begin statement. Worked in windows 2000 for me. |
|||
07 Dec 2003, 18:55 |
|
Paul6253 07 Dec 2003, 19:09
yeah forgot that org100 bit!
also as Gomer73 pointed out ,have to put the lea inside begin label cuz the print loop modifes esi! So on the next loop god only know whats at esi...lol thanks again _________________ Plez xcuce mi spelng |
|||
07 Dec 2003, 19:09 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.