• 0

CC Pseudocode Option?


Question

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

  • 0
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.

how bout someone who knows what they're talking about give it a try?

Link to comment
Share on other sites

  • 0
: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

  • 0
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

  • 0
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

  • 0
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

  • 0

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

  • 0
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?

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

  • 0
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

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

  • 0

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 by Citrusmoose
Link to comment
Share on other sites

  • 0
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?

if you want to emulate mips get Pcspim its a mips emulator for x86 based systems

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.