Previous in Forum: Rebooting Windows Vista Again . . . and Again   Next in Forum: AutoCAD Problem!
Close
Close
Close
7 comments
Rate Comments: Nested
Active Contributor

Join Date: Jan 2008
Posts: 13

ASM to C

05/02/2008 3:38 AM

Hi!

Is there a program available that allows you to design ASM graphically, simulate it and convert it to C?

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#1

Re: ASM to C

05/02/2008 7:08 AM

ASM? Do you mean ObjectWeb ASM, assembly language, or something else?

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Active Contributor

Join Date: Jan 2008
Posts: 13
#2
In reply to #1

Re: ASM to C

05/02/2008 8:00 AM

Sorry about that. One just assumes the acronymes one uses daily are the same ones to all the people. :) I mean Algorithmic State Machine. I need a software for some people who know a lot about the process, but not at all about programming. They should be able to create and test algorithms.

Register to Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#3
In reply to #2

Re: ASM to C

05/02/2008 8:50 AM

One just assumes the acronymes one uses daily are the same ones to all the people.

NO I DON'T

__________________
health warning: These posts may contain traces of nut.
Register to Reply Off Topic (Score 5)
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#7
In reply to #2

Re: ASM to C

05/03/2008 5:06 PM

See what happens (#4 & #6) if you don't spell it out?

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply Off Topic (Score 5)
Commentator

Join Date: Feb 2008
Location: Everywhere, but nowhere.
Posts: 88
#4

Re: ASM to C

05/03/2008 1:18 AM

I know Borlandc can convert C language to ASM, but not sure the other way around.

__________________
"It is only when we die that we become Immortal."
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#5

Re: ASM to C

05/03/2008 6:40 AM

There was a rash of these "you'll never need to write a line of code again" graphical-type program generators around some years ago. I haven't heard of any recently. Have you tried searching, yourself? If you do, I suggest you spell it out, rather than using acronyms.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Anonymous Poster
#6

Re: ASM to C

05/03/2008 11:27 AM

I do not if this will help but you don't to ASM to C this program was written in C it may help or not

char format[] = "%s %s\n";
char hello[] = "Hello";
char world[] = "world";
void main(void)
{
_asm
{
mov eax, offset world
push eax
mov eax, offset hello
push eax
mov eax, offset format
push eax
call printf
/*clean up the stack so that main can exit cleanly*/
/*use the unused register ebx to the cleanup*/
pop ebx
pop ebx
pop ebx
}
}

Register to Reply
Register to Reply 7 comments
Copy to Clipboard

Users who posted comments:

Anonymous Poster (1); High Lander (1); JohnDG (3); Nifalen (1); user-deleted-1105 (1)

Previous in Forum: Rebooting Windows Vista Again . . . and Again   Next in Forum: AutoCAD Problem!

Advertisement