
How to assign an address to registers ES:DI
Quote:
> comp.lang.c:
> => >
> => > Hi, Ive tried to work this one out myself, but I'm stumped. Can anyone
> => > help?
> => Sorry for my English.
> =>
> => If your c compiler use inline assembly language, you can write thie:
> =>
> ----SNIP----
> =>
> => In C syntaxe, you can write this
> =>
> ----SNIP----
> No, you can't. What you wrote was not C. It was something some compiler vendor
> came up with to allow you to do hardware specific things using their compiler.
> It will not work with ANY other compiler, even for the same hardware.
Interesting, If I write a new function, put it in a library for my use,
it's C, but if a programmer working for a compiler publisher writes a
function puts it in a library for the use of programmers who purchase
the compiler, it's not C. Am I missing something, or is this actually
as ridiculus as it sounds.
Of course it is C, it is just not ANSI/ISO C, and as such you are quite
correct in stating that it is off topic.
Quote:
> The proper answer is - you need to look in a platform specific newsgroup.
> comp.os.msdos.programmer
> comp.os.ms-windows.*
> comp.os.linux.*
> may be better.
No, if he knew the answer and wanted to impart it he should, by e:mail.
The only thing he did wrong was to waste comp.lang.c bandwidth with an
off-topic answer. We do not want to discourage people from answering
questions, we do however want to keep off-topic material off comp.lang.c
comp.lang.c is for discussion of the part of the C programming language
defined by ANSI/ISO. System/platform specific issues do not belong here,
as the readership probably doesn't use whatever platform you think they
do.
You got that almost right.
--
*****************************************************************
When everything's coming your way, you're in the wrong lane.
Who is General Failure and why is he reading my hard disk?
I couldn't afford to repair my brakes, so I turned up the radio.
I'm not cheap, but I am on special this week
=========================================
=========================================
READ THE FAQ for more information:
C-FAQ ftp sites: ftp://ftp.eskimo.com or ftp://rtfm.mit.edu
Hypertext C-FAQ: http://www.eskimo.com/~scs/C-faq/top.html