8086 assembler
-
I've visual c# 2008 ,I wanna make an assembly program of 8086 microprocessor on it,, is it available ???? could u show me the steps ,,plz??? ;) thanks
Uhhh.. you're either asking how to write an 8086 emulator or your looking to write an app in Intel Assembly Language. I really can't tell which. In either case, the required discussion would fill entire books. WAY too much information for a couple of forum posts.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak -
I've visual c# 2008 ,I wanna make an assembly program of 8086 microprocessor on it,, is it available ???? could u show me the steps ,,plz??? ;) thanks
Here[^] is an article that seems to explain things rather well, I didn't test it however I do expect it to work properly, even with Visual Studio C++ Express. What it doesn't say is you will be getting some build errors, unless you move some switches away from their default values. Trial and error will be involved. [ADDED] ML.exe may already be present in C:\Program Files\Microsoft Visual Studio 9.0\VC\bin Now how is this a C# question? [/ADDED] :)
Luc Pattyn [My Articles] Nil Volentibus Arduum
-
Here[^] is an article that seems to explain things rather well, I didn't test it however I do expect it to work properly, even with Visual Studio C++ Express. What it doesn't say is you will be getting some build errors, unless you move some switches away from their default values. Trial and error will be involved. [ADDED] ML.exe may already be present in C:\Program Files\Microsoft Visual Studio 9.0\VC\bin Now how is this a C# question? [/ADDED] :)
Luc Pattyn [My Articles] Nil Volentibus Arduum
Luc Pattyn wrote:
Now how is this a C# question?
From what it sounds like, and I'm still wondering about it, he might be wanting to have some 8086 (why an old 8086, maybe meant 80x86) Assembly code get called from C#. Like Dave's post, who knows for sure.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
-
Luc Pattyn wrote:
Now how is this a C# question?
From what it sounds like, and I'm still wondering about it, he might be wanting to have some 8086 (why an old 8086, maybe meant 80x86) Assembly code get called from C#. Like Dave's post, who knows for sure.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
Nah. Calling an assembly function is too easy: just call it like you would call a regular C/C++ function, i.e. using P/Invoke, and make sure to have the calling conventions declared correctly. We'll know what he really wants tomorrow. Or later. Or not at all. Who knows? :)
Luc Pattyn [My Articles] Nil Volentibus Arduum
-
Nah. Calling an assembly function is too easy: just call it like you would call a regular C/C++ function, i.e. using P/Invoke, and make sure to have the calling conventions declared correctly. We'll know what he really wants tomorrow. Or later. Or not at all. Who knows? :)
Luc Pattyn [My Articles] Nil Volentibus Arduum
Luc Pattyn wrote:
just call it like you would call a regular C/C++ function, i.e. using P/Invoke, and make sure to have the calling conventions declared correctly
It's pretty easy, too. But again, who knows what his real requirements are.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham