Re: Merge sort



"santosh" <santosh.k83@xxxxxxxxx> writes:
Phil Carmody wrote:
"Foolad" <fooladgh@xxxxxxxxx> writes:
Hello,
Can anybody help me implementing merge sort algorithm with 68000
assembly language?
I don't know where to begin.

Easy:

Write one in C using the simplest techniques you can, and avoiding
use of more than a couple of dozen variables.

Translate that to 68k asm.

Hand in to your teacher.

Get goods marks.

If he can translate C code to 68k asm, why wouldn't he write it in 68k
asm to begin with?

Because maybe he can't write non-trivial recursive functions in 68k code
off the top of his head.

Phil
--
"Home taping is killing big business profits. We left this side blank
so you can help." -- Dead Kennedys, written upon the B-side of tapes of
/In God We Trust, Inc./.
.



Relevant Pages

  • Re: Merge sort
    ... Translate that to 68k asm. ... If he can translate C code to 68k asm, why wouldn't he write it in 68k ... his 68K cross compiler sure can! ...
    (alt.lang.asm)
  • Re: Merge sort
    ... Write one in C using the simplest techniques you can, ... Translate that to 68k asm. ... If he can translate C code to 68k asm, why wouldn't he write it in 68k ...
    (alt.lang.asm)
  • Re: Merge sort
    ... Can anybody help me implementing merge sort algorithm with 68000 ... Translate that to 68k asm. ... If he can translate C code to 68k asm, why wouldn't he write it in 68k ...
    (alt.lang.asm)
  • Re: TMA Assembler?
    ... I wish I was as good as Rene in ASM, but there is still some way to go, ... If "I am HLA" then I'm definitely the one to argue with. ... The actual assembly language ...
    (alt.lang.asm)
  • Re: [ Attn: Randy ] Ad-hoc Parsing?
    ... But, as you speak of "major projects", then this is actually one of the ... A chief criticism of assembly language is that it ... is where it derives its power...working with machine instructions ... To "close the gap"...so, at those points where it may be C or ASM chosen, ...
    (alt.lang.asm)