A89: Re: Re: C and 68k?


[Prev][Next][Index][Thread]

A89: Re: Re: C and 68k?





>
>Yes, they are alike
>c is one step above assembly
>the easiest way to explain c is, that it is a form of short hand.
>when you write code in c the command you give was written in assembly(kinda
>like writing an assembly program with calling nothing but prewriten
>funtions) ,the assembly code could be a couple  pages long but the command
>in c is just one word.

That doesn't make them alike; knowing C doesn't mean you know 68k asm, or
any other asm for that matter.

 it was written to make understanding  code easier
>.Most c compilers convert code back into assembly before compiling.

How is that possible?  It would be useless and impractical to convert the C
to anything but machine language.  Maybe you mean that the C is tokenized
into some kind of 68k tokens, which isn't even very likely ... it probably
goes straight to opcodes.

 because
>all the functions are prewriten most of the time you can make your own
>function(to do the same thing) in assembly more effeceint. but you need to
>know the shorthand before yo write c programs.
>ps you can add assembly straight into a c program.
>-----Original Message-----
>From: MenacerTW@aol.com <MenacerTW@aol.com>
>To: assembly-89@lists.ticalc.org <assembly-89@lists.ticalc.org>
>Date: Monday, September 28, 1998 1:38 AM
>Subject: A89: C and 68k?
>
>
>>
>>Are C and 68k languages alike?
>