Re: C# programmer wants to learn assembly?? plz help
- From: Herbert Kleebauer <klee@xxxxxxxxx>
- Date: Thu, 28 Dec 2006 22:20:20 +0100
Frank Kotler wrote:
Herbert Kleebauer wrote:
Your refusal to use a linker puts you uncomfortably close to the RasAsm
camp. At least, *I* wouldn't be comfortable there!
I don't refuse to use a linker. In your code you used:
extern WriteFile
import WriteFile kernel32.dll
call [WriteFile]
Did you never want to know what this exactly means? The
assembler/linker somehow transfers this information from
the assembler source file into the executable output file.
For example, how does the assembler/linker determine
the memory address which is used in the "call [WriteFile]"
instruction? Or how is the information "import WriteFile kernel32.dll"
stored in the exe file. To understand this, you can either write
your own assembler and linker or generate the binary manually byte
by byte. I used the second way, because it's much easier. But
this is only for understanding and not producing an application.
For an application I most certainly would use a linker but also most
certainly would not use an assembler but a HLL compiler. That's the
same with the graphics output in Linux using the X server. I want to
understand how it works. But if I had to write a graphics application
for Linux I most certainly would use one of the HL tool kits and
not open a unix domain socket to connect to the X server. But even
if you use such a tool kit, I think it is useful to know, that an
image has to be transferred in 16 kbyte pieces with socket send
commands to the video ram.
.
- Follow-Ups:
- Re: C# programmer wants to learn assembly?? plz help
- From: Frank Kotler
- Re: C# programmer wants to learn assembly?? plz help
- References:
- C# programmer wants to learn assembly?? plz help
- From: giddy
- Re: C# programmer wants to learn assembly?? plz help
- From: Frank Kotler
- Re: C# programmer wants to learn assembly?? plz help
- From: //\\\\o//\\\\annabee
- Re: C# programmer wants to learn assembly?? plz help
- From: Herbert Kleebauer
- Re: C# programmer wants to learn assembly?? plz help
- From: Frank Kotler
- C# programmer wants to learn assembly?? plz help
- Prev by Date: Re: C# programmer wants to learn assembly?? plz help
- Next by Date: Re: X without libraries... still...
- Previous by thread: Re: C# programmer wants to learn assembly?? plz help
- Next by thread: Re: C# programmer wants to learn assembly?? plz help
- Index(es):
Relevant Pages
|