Thread: basic queries on assembly level language

  1. #1
    Registered User
    Join Date
    Aug 2016

    basic queries on assembly level language

    being a newbie I have a very basic
    doubt -as in high level language
    though to some extent assembly
    level language also uses simple
    english words in programming
    then why does the later require
    knowing the hardware details of
    the computer?these questions might sound dumb but please bear with me.thnku...

  2. #2
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Yes. The question is dumb. You should do the smart thing and not worry with this type of stuff. You don't need answers to all the questions your pretty little brain spouts when you are starting to program. Just concentrate on what you are doing.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #3
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    United States
    Yeah I would go as far as to say that the question is completely wrong headed. There are a couple of realistic answers to the question depending on what you mean by "hardware details."

    1) There are different assemblies out there. Newer hardware can support new assembly instructions that older hardware did not support, so in that way, you need to know what chip the program runs on
    2) By and large, it is a mistake to think assembly is showing you details exactly. Even if there is a one to one mapping between mnemonics and the chip's functionality, that mapping is still an abstraction; it's not like you need knowledge of exactly how the chip is doing anything
    Last edited by whiteflags; 09-01-2016 at 11:03 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. general queries regarding machine level language
    By sonika jha in forum General Discussions
    Replies: 6
    Last Post: 09-02-2016, 04:43 PM
  2. ASSEMBLY LEVEL Programming
    By kiwi101 in forum Tech Board
    Replies: 26
    Last Post: 09-18-2013, 02:31 PM
  3. Is C++ or C language is a high Level language?
    By uthmankhale in forum C++ Programming
    Replies: 5
    Last Post: 08-25-2011, 06:00 PM
  4. basic file operations queries
    By suryak in forum C Programming
    Replies: 7
    Last Post: 05-10-2011, 12:08 PM
  5. Replies: 10
    Last Post: 12-03-2005, 10:53 PM

Tags for this Thread