Re: Can all compiled languages be translated into assembly?
- From: Russell Shaw <rjshawN_o@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 18 Mar 2006 12:26:08 +1100
MSCHAEF.COM wrote:
In article <1142510345.885283.149330@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
<thenightfly@xxxxxxxxxxx> wrote:
All code runs as machine code and assembly is just a simplified
extension of machine code, right? Doesn't that mean that any standard
compiled code can be directly translated into an assembly equivalent of
any hardware platform?
'any standard compiled code' and 'any hardware platform' are both sufficiently broad that the only safe answer is no.
Given that, if you have a particular piece of code running on a particular piece of hardware, then yes, there is likely to be a machine code equivalent. However, even that's not always true. Machines with seperate data and instruction address spaces preclude run time compilation to machine code. Such software will never be able to be fully translated to machine code run directly by the machine. (Unless you count whatever interpreter you use)
Code that is a "description language* cannot be *run*;)
.
- Follow-Ups:
- Re: Can all compiled languages be translated into assembly?
- From: MSCHAEF.COM
- Re: Can all compiled languages be translated into assembly?
- References:
- Can all compiled languages be translated into assembly?
- From: thenightfly
- Re: Can all compiled languages be translated into assembly?
- From: MSCHAEF.COM
- Can all compiled languages be translated into assembly?
- Prev by Date: Re: Recursive Question
- Next by Date: Re: serialization class and endian
- Previous by thread: Re: Can all compiled languages be translated into assembly?
- Next by thread: Re: Can all compiled languages be translated into assembly?
- Index(es):
Relevant Pages
|
|