Re: To RISC or not to RISC
- From: "KJH" <k_jh77@xxxxxxxxx>
- Date: 29 Oct 2006 12:02:35 -0800
vid512@xxxxxxxxx kirjoitti:
Back to RISC:
When I am programming ASM on ARM, i have more "appropriate" feel. On
ARM, your ASM code is much faster compared to C-produced code, than on
x86.
Really? I might have to check my prejudices. I thought ARM was one
example of an architecture, where compilers actually produces compact
and fast code, as do compilers for x86 also. Taken from assembly point
of view, coding for x86 in asm nowadays involves checking your dword
boundaries alignment, using mov eax,[esi] rather than lodsd, and all
these optimal instruction scheduling peculiarities, which kind of
reduce neat asm tricks to somewhat same kind of code which would have
been produced by compiler anyway...
But really, I'm no expert on ARM for example, just had that impression
that almost all software for ARM is coded in C, especially on mobile
phones. Does assembly give you an advantage on ARM?
I love possibility to condition every instruction.
That's cool. Doesn't it get confusing?
how long are you programming ARM? What OS?
I'm no expert, have been doing some preliminary coding, making my own
disassembler for ARM, to study my mobile phones OS... Although IDA
would do just fine, but I think it's a good learning experience to make
a disassembler, so you really have to study the instruction encoding
and such.
.
- Follow-Ups:
- Re: To RISC or not to RISC
- From: vid512@xxxxxxxxx
- Re: To RISC or not to RISC
- References:
- To RISC or not to RISC
- From: KJH
- Re: To RISC or not to RISC
- From: Betov
- Re: To RISC or not to RISC
- From: randyhyde@xxxxxxxxxxxxx
- Re: To RISC or not to RISC
- From: Betov
- Re: To RISC or not to RISC
- From: randyhyde@xxxxxxxxxxxxx
- Re: To RISC or not to RISC
- From: Betov
- Re: To RISC or not to RISC
- From: vid512
- To RISC or not to RISC
- Prev by Date: Re: To RISC or not to RISC
- Next by Date: Re: 12 Misconceptions
- Previous by thread: Re: To RISC or not to RISC
- Next by thread: Re: To RISC or not to RISC
- Index(es):
Relevant Pages
|