citrusmoose Posted September 29, 2004 Share Posted September 29, 2004 Hi I was wondering if there was a config file or option for pseudocode for the c compiler? I've got a mips assembly file that conatins pseudocode and I can't compile it. Anybody got any ideas (besides unfaking it)? Thanks in advance. Link to comment Share on other sites More sharing options...
0 Crunch Posted September 29, 2004 Share Posted September 29, 2004 umm since PseudoCode might vary from person to person the compiler to do that is pretty much not possible and unrealistic in other words NO. Link to comment Share on other sites More sharing options...
0 Crunch Posted September 29, 2004 Share Posted September 29, 2004 why dont you just post the pseudocode and see if ppl hear will be nice and convert it really shouldnt be that hard unless it is HUGE or it is hard to read Link to comment Share on other sites More sharing options...
0 citrusmoose Posted September 29, 2004 Author Share Posted September 29, 2004 umm since PseudoCode might vary from person to personthe compiler to do that is pretty much not possible and unrealistic in other words NO. how bout someone who knows what they're talking about give it a try? Link to comment Share on other sites More sharing options...
0 oik Posted September 29, 2004 Share Posted September 29, 2004 how bout someone who knows what they're talking about give it a try? :blink: no. there is no way to compile pseudocode. Link to comment Share on other sites More sharing options...
0 kjordan2001 Posted September 29, 2004 Share Posted September 29, 2004 :blink: no. there is no way to compile pseudocode. Exactly, that's why it's called psuedocode...i.e. fake code. And it does differ from person to person, there is no set way to write psuedocode, otherwise it would be another language.... :huh: Link to comment Share on other sites More sharing options...
0 Sn1p3t Posted September 29, 2004 Share Posted September 29, 2004 how bout someone who knows what they're talking about give it a try? Wow. You are such a dumbass. You ask a question that any idiot who's read a programming tutorial would know the answer to (*hint* it's impossible), and then you attack the person who tries to explain it to you. Link to comment Share on other sites More sharing options...
0 citrusmoose Posted September 29, 2004 Author Share Posted September 29, 2004 Wow. You are such a dumbass. You ask a question that any idiot who's read a programming tutorial would know the answer to (*hint* it's impossible), and then you attack the person who tries to explain it to you. congradulations, you're the dumbass and wow, yes, it feels good to prove someone who thinks they know what they're talking about wrong i'm guessin no one hear has ever programmed in assembly before pseudocode in assembly = an instruction that simplifies translation and programming ie. move $t0, $t1 = add &t0, $zero, $t1 of course maybe it's my fault, i guess i should refer to it as "pseudo instruction" but still, it was really gay of you to assume i really meant i wanted to compile my own written code, i doubt there are people that dumb Link to comment Share on other sites More sharing options...
0 Mouton Posted September 29, 2004 Share Posted September 29, 2004 of course maybe it's my fault, i guess i should refer to it as "pseudo instruction" but still, it was really gay of you to assume i really meant i wanted to compile my own written code, i doubt there are people that dumb http://www.google.com/search?hl=en&lr=&ie=...ne%3Apseudocode by asking the wrong question, u get the wrong answer. and yes, ppl can be that dumb. How was your 'pseudo-instruction' file created ? I don't know any compiler that would allow to compile such a thing (don't see why anyone would make such a thing.....), but I guess the app. that created the file in the first place would be a good place to start looking. Link to comment Share on other sites More sharing options...
0 citrusmoose Posted September 29, 2004 Author Share Posted September 29, 2004 true but anybody that was dealt with assembly languages before know about pseudoinstuctions. everyone hear was quick to assume i was talkin crazy. btw just forget i asked a question. apparently nobody can help, and apparently half of neowin has turned into flamers. Link to comment Share on other sites More sharing options...
0 kjordan2001 Posted September 29, 2004 Share Posted September 29, 2004 Alright, now your question makes more sense. Are you trying to compile this on a MIPS machine or a cross-compiler set up to do MIPS? Link to comment Share on other sites More sharing options...
0 citrusmoose Posted September 30, 2004 Author Share Posted September 30, 2004 well that's where i'm lost i want to setup a cross compiler since i don't have a mips machine how would i do that? Link to comment Share on other sites More sharing options...
0 Andareed Posted September 30, 2004 Share Posted September 30, 2004 You should probably get a software emulator of a mips machine. This is how we did mips at univeristy. Link to comment Share on other sites More sharing options...
0 kjordan2001 Posted September 30, 2004 Share Posted September 30, 2004 well that's where i'm losti want to setup a cross compiler since i don't have a mips machine how would i do that? You'd have to do a compile of gcc with the host set to mips. But a software emulator would probably be better. Link to comment Share on other sites More sharing options...
0 Sn1p3t Posted September 30, 2004 Share Posted September 30, 2004 congradulations, you're the dumbassand wow, yes, it feels good to prove someone who thinks they know what they're talking about wrong i'm guessin no one hear has ever programmed in assembly before pseudocode in assembly = an instruction that simplifies translation and programming ie. move $t0, $t1 = add &t0, $zero, $t1 of course maybe it's my fault, i guess i should refer to it as "pseudo instruction" but still, it was really gay of you to assume i really meant i wanted to compile my own written code, i doubt there are people that dumb I wasn't calling you a dumbass for your question. It was your disrepect for other members on the board. You ask a misleading question, we're not going to give you the right answer. Link to comment Share on other sites More sharing options...
0 citrusmoose Posted September 30, 2004 Author Share Posted September 30, 2004 (edited) only because he assumed i was bein stupid, i mean it wasn't that misleading but i apologize, i'm sorry as for the topic at hand, i do have the pcspim emulator, but i was just hoping there was an option for the compiler that would let me compile for an x86 i find pcspim isn't all that great but since there isn't an option, is there a better emulator that you know of? Edited September 30, 2004 by Citrusmoose Link to comment Share on other sites More sharing options...
0 neufuse Veteran Posted October 1, 2004 Veteran Share Posted October 1, 2004 well that's where i'm losti want to setup a cross compiler since i don't have a mips machine how would i do that? if you want to emulate mips get Pcspim its a mips emulator for x86 based systems Link to comment Share on other sites More sharing options...
0 Andareed Posted October 1, 2004 Share Posted October 1, 2004 neufuse, Citrusmoose said in the post before you he does not like pcspim :D Link to comment Share on other sites More sharing options...
0 neufuse Veteran Posted October 1, 2004 Veteran Share Posted October 1, 2004 neufuse, Citrusmoose said in the post before you he does not like pcspim :D didn't read the 2nd page when i answered that Link to comment Share on other sites More sharing options...
Question
citrusmoose
Hi
I was wondering if there was a config file or option for pseudocode for the c compiler?
I've got a mips assembly file that conatins pseudocode and I can't compile it.
Anybody got any ideas (besides unfaking it)?
Thanks in advance.
Link to comment
Share on other sites
18 answers to this question
Recommended Posts