flat assembler
Message board for the users of flat assembler.
Index
> MenuetOS > need some help understanding this code |
Author |
|
DC740 23 Jul 2005, 03:00
i understood almost everything, thanx!, anyway the last part is not too clear to me, i thought that if you did this:mov [edi],dword '/RD/'
you would be deleting the old data in edi, but i guess that i was wrong and why this adds the '1/' whitout worring about the variable size (i have a lot of confusing things in my mind)... ok, to tell the truth i need an explanation of the last things... after the " ;i don't understand the next code " mov [edi],word '1/' inc edi inc edi |
|||
23 Jul 2005, 03:00 |
|
Night Rider 28 Jul 2005, 00:08
Quote: " ;i don't understand the next code " OK. Sorry my english it puts string '1/' to the some place in memory, by address stored in edi. Quote: and why this adds the '1/' whitout worring about the variable size There is no variables in Assembler. There are Sirs Registers and Mrs memory. you see word 'word' next to '1/'? It orders precisely to store 2 bytes in RAM. _________________ My best regards |
|||
28 Jul 2005, 00:08 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.