Re: Aspiring highest-order programmer

From: Ben Measures (saint_abroadremove_at_removehotmail.com)
Date: 05/26/04


Date: Wed, 26 May 2004 13:37:59 GMT

Dave wrote:
> Alf P. Steinbach wrote:
>> * JKop <NULL@NULL.NULL> schriebt:
>>> Can all programs be represented in Assembly Language? Every single
>>> imaginable program, written in any language?
>>
>>
>> I'm not sure if you're trolling or not.
>>
>> But anyway, the answer is no.
>>
>> For example, consider scripting of a web-page. It should work with any
>> browser that supports the scripting language. No way you can substitute
>> assembler language or resulting machine code.
>>
>
> But the path taken through a particular browser's machine code as a
> result of that script executing would describe a machine code
> representation of that script for the processor for which the browser
> was compiled. Just because the script is interpreted doesn't mean it
> can't be expressed in assembler. There may not be a
> scripting-language-to-assembler compiler in existence, but that doesn't
> mean representing the script in assembler is inherently impossible.
>

I think you missed what was meant there. The scripting being talked of
wasn't necessarily a language like ECMAScript.

WWW scripting involves HTML and CSS and languages such as these cannot
be described by or converted into machine code (and hence assembler
listings).

-- 
Ben M.


Relevant Pages

  • Re: MSIL or Bytecode taught instead of ASM
    ... efforts of the "high level language" communities, ... spent learning any given assembler or assembly language. ... said IL (unlike the basic architecture). ... traditional VM (the high or low-levelness between bytecode and machine code ...
    (comp.programming)
  • Re: Aspiring highest-order programmer
    ... > programming and not just subscribe myself to the one sole doctrine language, ... > have an assembly code stage before they become machine code? ... > is to understand assembly language. ... language and then assembler and only then high level language. ...
    (comp.programming)
  • Re: I think i finally got a definition of an Assembler!
    ... you're the one saying OBJ files are not machine code. ... an assembler producing OBJ files is not an assembler, ... > The correct definition of asssembly language is that one that is once ...
    (alt.lang.asm)
  • Re: Aspiring highest-order programmer
    ... >>be described by or converted into machine code (and hence assembler ... > of the HTML markup. ... "Can all programs be represented in Assembly Language?" ... Assembler code. ...
    (comp.programming)
  • Re: Student Question on using a PID as a Dimmer to Control a Light Bulb!!! This is a fun one!!!!!!
    ... Any computer processor runs what's called 'machine language' -- it's the ones and zeros in the binary words that the computer reads in when it's running a program. ... language through a tool called an assembler, which turns it into machine code. ... C is a 'higher level language' that allows you to type in something that looks much more like English, then translates those lines into machine code that is then loaded into memory for a processor to run. ... There are many ways of implementing BASIC, but they all boil down to the fact that it is an interpreted language: the target computer stores what you wrote, more or less*. ...
    (sci.engr.control)